|
|
void | SetPosition (wxPoint pos) |
| | Define where the popup will appear on Create()
|
| |
|
bool | Create (wxWindow *parent) override |
| | Create popup control.
|
| |
|
void | OnChar (wxKeyEvent &event) |
| | Gets the info which keycode the current keypress results in.
|
| |
|
void | OnKeyDown (wxKeyEvent &event) |
| | Gets the info which key has been pressed with which modifier.
|
| |
| | AutocompletePopup (wxWindow *parent, EditorCell *editor, AutoComplete *autocomplete, AutoComplete::autoCompletionType type, AutocompletePopup **doneptr, const wxString &fileBaseDir={}) |
| | The constructor of the autocompletion window.
|
| |
| void | UpdateResults (bool allowAutoFinish=true) |
| | Re-filter the completion list against the current partial.
|
| |
|
void | OnClick (wxMouseEvent &event) |
| |
◆ AutocompletePopup()
The constructor of the autocompletion window.
- Parameters
-
| parent | The parent window |
| editor | The cell that contains the text that is to be completed |
| autocomplete | The autocompletion data |
| type | The type of completion needed |
| doneptr | A pointer that will be set to NULL when the pop-up is destroyed. |
| fileBaseDir | The directory relative file names are resolved against (used by the file-name completion types to descend into subdirectories). |
◆ UpdateResults()
| void AutocompletePopup::UpdateResults |
( |
bool |
allowAutoFinish = true | ) |
|
Re-filter the completion list against the current partial.
- Parameters
-
| allowAutoFinish | With true, a single remaining completion is applied immediately (finishing the completion or descending into the directory it names). Pass false when the user is deleting: silently re-inserting what was just deleted would fight the user - the single match is then only displayed. |
The documentation for this class was generated from the following files: