NeoMutt  2025-12-11-980-ge38c27
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
functions.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_EDITOR_FUNCTIONS_H
24#define MUTT_EDITOR_FUNCTIONS_H
25
26#include <stdbool.h>
27#include <stddef.h>
28
29struct EnterState;
30struct EnterWindowData;
31struct KeyEvent;
32struct MuttWindow;
33
35
45
58typedef int (*enter_function_t)(struct EnterFunctionData *fdata, const struct KeyEvent *event);
59
68
69int enter_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event);
70bool self_insert(struct EnterWindowData *wdata, int ch);
71void replace_part(struct EnterState *es, size_t from, const char *buf);
72
73#endif /* MUTT_EDITOR_FUNCTIONS_H */
struct MenuDefinition * editor_get_menu_definition(void)
Get the Editor Menu Definition.
Definition functions.c:575
void replace_part(struct EnterState *es, size_t from, const char *buf)
Search and replace on a buffer.
Definition functions.c:150
bool self_insert(struct EnterWindowData *wdata, int ch)
Insert a normal character.
Definition window.c:88
int(* enter_function_t)(struct EnterFunctionData *fdata, const struct KeyEvent *event)
Definition functions.h:58
int enter_function_dispatcher(struct MuttWindow *win, const struct KeyEvent *event)
Perform an Enter function - Implements function_dispatcher_t -.
Definition functions.c:535
Editor private Module data.
Definition module_data.h:30
Data passed to Enter worker functions.
Definition functions.h:40
struct EditorModuleData * mod_data
Editor module data.
Definition functions.h:42
struct NeoMutt * n
NeoMutt application data.
Definition functions.h:41
struct EnterWindowData * wdata
Enter window data.
Definition functions.h:43
A NeoMutt function.
Definition functions.h:64
int op
Op code, e.g. OP_SEARCH.
Definition functions.h:65
enter_function_t function
Function to call.
Definition functions.h:66
Keep our place when entering a string.
Definition state.h:32
Data to fill the Enter Window.
Definition wdata.h:57
An event such as a keypress.
Definition get.h:75
Functions for a Dialog or Window.
Definition menudef.h:44
Container for Accounts, Notifications.
Definition neomutt.h:41