mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/code] Remove duplicates in the variable box
Example script: from turtle import * hideturtle() We had "hideturtle" in the local variables, and "hideturtle()" in the imported. Now we should only have the latter.
This commit is contained in:
@@ -99,7 +99,7 @@ private:
|
||||
* already contained in the variable box. */
|
||||
void checkAndAddNode(const char * textToAutocomplete, int textToAutocompleteLength, ScriptNode::Type type, NodeOrigin origin, const char * name, int nameLength, const char * nodeSourceName = nullptr, const char * description = nullptr);
|
||||
bool shouldAddNode(const char * textToAutocomplete, int textToAutocompleteLength, const char * name, int nameLength, ScriptNode::Type type, NodeOrigin origin);
|
||||
bool contains(const char * name, int nameLength);
|
||||
bool contains(const char * name, int nameLength, ScriptNode::Type type);
|
||||
void addNode(ScriptNode::Type type, NodeOrigin origin, const char * name, int nameLength, const char * nodeSourceName = nullptr, const char * description = nullptr);
|
||||
VariableBoxEmptyController m_variableBoxEmptyController;
|
||||
ScriptNode m_currentScriptNodes[k_maxScriptNodesCount];
|
||||
|
||||
Reference in New Issue
Block a user