Lines Matching defs:Action
55 CompletionAction Action;
58 Action.Kind = CompletionAction::AK_ShowCompletions;
59 return Action;
70 Action.Kind = CompletionAction::AK_ShowCompletions;
72 Action.Completions.push_back(Comp.DisplayText);
74 Action.Kind = CompletionAction::AK_Insert;
75 Action.Text = CommonPrefix;
78 return Action;
84 CompletionAction Action;
85 Action.Kind = CompletionAction::AK_ShowCompletions;
86 return Action;
143 LineEditor::CompletionAction Action = Data->LE->getCompletionAction(
146 switch (Action.Kind) {
148 ::el_insertstr(EL, Action.Text.c_str());
152 if (Action.Completions.empty()) {
171 for (const std::string &Completion : Action.Completions)