37#ifndef MUTT_EDITOR_LIB_H
38#define MUTT_EDITOR_LIB_H
Convenience wrapper for the core headers.
int(* function_dispatcher_t)(struct MuttWindow *win, const struct KeyEvent *event)
void(* get_field_callback_t)(const char *text, void *data)
int mw_get_field_notify(const char *prompt, struct Buffer *buf, CompletionFlags complete, enum HistoryClass hclass, const struct CompleteOps *comp_api, void *cdata, get_field_callback_t callback, void *cb_data, const struct MenuDefinition *md, function_dispatcher_t fn_disp)
Ask the user for a string and call a notify function on keypress.
struct SubMenu * editor_get_submenu(void)
Get the Editor SubMenu.
void editor_init_keys(struct NeoMutt *n, struct SubMenu *sm_generic)
Initialise the Editor Keybindings - Implements ::init_keys_api.
void replace_part(struct EnterState *es, size_t from, const char *buf)
Search and replace on a buffer.
Struct to store the cursor position when entering text.
uint8_t CompletionFlags
Flags for mw_get_field(), e.g. MUTT_COMP_NO_FLAGS.
int mw_get_field(const char *prompt, struct Buffer *buf, CompletionFlags complete, enum HistoryClass hclass, const struct CompleteOps *comp_api, void *cdata)
Ask the user for a string -.
Read/write command history from/to a file.
HistoryClass
Type to differentiate different histories.
String manipulation buffer.
Keep our place when entering a string.
Container for Accounts, Notifications.