EntryCompletion.insertActionText

Inserts an action in completion’s action item list at position index_ with text text. If you want the action item to have markup, use Entry.completionInsertActionMarkup.

Note that index_ is a relative position in the list of actions and the position of an action can change when deleting a different action.

class EntryCompletion
void
insertActionText
(
int index
,
string text
)

Parameters

index int

the index of the item to insert

text string

text of the item to insert

Meta