Thanks to visit codestin.com
Credit goes to code.neomutt.org

NeoMutt  2025-12-11-189-gceedb6
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
lib.h
Go to the documentation of this file.
1
22
36
37#ifndef MUTT_EDITOR_LIB_H
38#define MUTT_EDITOR_LIB_H
39
40#include <stddef.h>
41// IWYU pragma: begin_keep
42#include "enter.h"
43#include "state.h"
44#include "wdata.h"
45// IWYU pragma: end_keep
46#include "history/lib.h"
47
48struct Buffer;
49struct CompleteOps;
50struct SubMenu;
51
52void editor_init_keys(struct SubMenu *sm_generic);
53
54int mw_get_field(const char *prompt, struct Buffer *buf, CompletionFlags complete, enum HistoryClass hclass, const struct CompleteOps *comp_api, void *cdata);
55void replace_part(struct EnterState *es, size_t from, const char *buf);
56
57#endif /* MUTT_EDITOR_LIB_H */
void replace_part(struct EnterState *es, size_t from, const char *buf)
Search and replace on a buffer.
Definition functions.c:146
void editor_init_keys(struct SubMenu *sm_generic)
Initialise the Editor Keybindings - Implements ::init_keys_api.
Definition functions.c:129
Struct to store the cursor position when entering text.
Enter Window Data.
uint8_t CompletionFlags
Flags for mw_get_field(), e.g. MUTT_COMP_NO_FLAGS.
Definition wdata.h:42
Enter buffer.
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 -.
Definition window.c:271
Read/write command history from/to a file.
HistoryClass
Type to differentiate different histories.
Definition lib.h:54
String manipulation buffer.
Definition buffer.h:36
Keep our place when entering a string.
Definition state.h:32
Collection of related functions.
Definition menu.h:69