Auto-Completion API.
More...
Auto-Completion API.
◆ complete_alias_complete()
Complete an Alias - Implements CompleteOps::complete() -.
Definition at line 41 of file complete.c.
42{
43 if (!wdata || (op != OP_EDITOR_COMPLETE))
45
46
47 size_t i;
50 i--)
51 {
52 }
54 ;
55
59 if (rc != 1)
60 {
62 }
63
65}
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
@ FR_SUCCESS
Valid function - successfully performed.
@ FR_CONTINUE
Remain in the Dialog.
@ FR_NO_ACTION
Valid function - no action performed.
int alias_complete(struct Buffer *buf, struct ConfigSubset *sub)
Alias completion routine.
void replace_part(struct EnterState *es, size_t from, const char *buf)
Search and replace on a buffer.
void buf_mb_wcstombs(struct Buffer *dest, const wchar_t *wstr, size_t wlen)
Convert a string from wide to multibyte characters.
size_t curpos
Position of the cursor.
wchar_t * wbuf
Buffer for the string being entered.
size_t lastchar
Position of the last character.
struct Buffer * buffer
struct Buffer for the result
struct EnterState * state
Current state of text entry.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.