[apps/code] Continue cleaning and refactoring in variable box

This commit is contained in:
Léa Saviot
2020-04-01 15:46:55 +02:00
committed by Émilie Feral
parent b11bab4045
commit 2b83d9b952
2 changed files with 34 additions and 43 deletions

View File

@@ -65,6 +65,9 @@ private:
bool selectLeaf(int rowIndex) override;
void insertTextInCaller(const char * text, int textLength = -1);
void loadBuiltinNodes(const char * textToAutocomplete, int textToAutocompleteLength);
void loadCurrentAndImportedVariableInScript(Script script, const char * textToAutocomplete, int textToAutocompleteLength);
void addNodesFromImportMaybe(mp_parse_node_struct_t * parseNode, const char * textToAutocomplete, int textToAutocompleteLength);
/* Add a node if it completes the text to autocomplete and if it is not
* already contained in the variable box. */