Commit Graph

75 Commits

Author SHA1 Message Date
Léa Saviot
96d68d6b44 [apps/code/varbox] Subtitles and basic items are displayed properly 2020-06-04 14:50:05 +02:00
Léa Saviot
34a1a8e35f [apps/code] Fix willDisplayCellForIndex
Problem: some nodes were not displayed, because the subtitles count was
not taken into account when using the index parameter if
willDisplayCellForIndex
2020-06-04 14:50:05 +02:00
Léa Saviot
0863abc4da [apps/code] VariableBox cells with node origins 2020-06-04 14:50:05 +02:00
Léa Saviot
52644bf76d [apps/code] Subtitles in the variable box 2020-06-04 14:50:05 +02:00
Léa Saviot
a98f4b6ca0 [apps/code] Edit the builtins list 2020-06-04 14:50:05 +02:00
Léa Saviot
6aa150d5d7 [apps/code] Cleaning 3 2020-06-04 14:50:05 +02:00
Léa Saviot
86435bf647 [apps/code] Cleaning 2 2020-06-04 14:50:04 +02:00
Léa Saviot
327dd0ac41 [apps/code] Cleaning 1 2020-06-04 14:50:04 +02:00
Léa Saviot
044dc706cb [apps/code] Remove unneeded code 2020-06-04 14:50:04 +02:00
Léa Saviot
332cd0ed3a [apps/code] Handle "from a.b import *" in the var box 2020-06-04 14:50:04 +02:00
Léa Saviot
97aaff9430 [apps/code] Fix imported script variables fetching 2020-06-04 14:50:04 +02:00
Léa Saviot
1e59abf55b [apps/code] Load global and imported variables from imported scripts 2020-06-04 14:50:04 +02:00
Léa Saviot
4f24a7d870 [apps/code] Use nodesForOrigin 2020-06-04 14:50:04 +02:00
Léa Saviot
0428c814e8 [apps/code] Fix array shifting 2020-06-04 14:50:04 +02:00
Léa Saviot
2b83d9b952 [apps/code] Continue cleaning and refactoring in variable box 2020-06-04 14:50:04 +02:00
Léa Saviot
b11bab4045 [apps/code] Refactoring 2020-06-04 14:50:04 +02:00
Léa Saviot
d2bfe01cd4 [apps/code] VariableBoxController::contains method 2020-06-04 14:50:04 +02:00
Léa Saviot
4cb947759d [apps/code] Get imported modules in the variable box 2020-06-04 14:50:04 +02:00
Léa Saviot
a0f1d0f24b [apps/code] Start getting importations in the variable box 2020-06-04 14:50:04 +02:00
Léa Saviot
78a747d9c6 [apps/code] Start loading imported variables in var box 2020-06-04 14:50:04 +02:00
Léa Saviot
ac3a09bdeb [apps/code] Insert only the completing text when autocompleting 2020-06-04 14:50:04 +02:00
Léa Saviot
ad5c998b97 [apps/code] Add module names to the builtins 2020-06-04 14:50:04 +02:00
Léa Saviot
e32a5ccc17 [apps/code] Simpler VarBoxController::autocompletionForText 2020-06-04 14:50:04 +02:00
Léa Saviot
6b93a5b83a [apps/code] Load current script vars according to autocompleted text 2020-06-04 14:50:04 +02:00
Léa Saviot
e934bb39e3 [apps/code] Clean ScriptNode 2020-06-04 14:50:04 +02:00
Léa Saviot
1b828196e9 [apps/code] Use ScriptNode::Type in VariableBoxController 2020-06-04 14:50:04 +02:00
Léa Saviot
f412d95584 [apps/code] Load builtins according to autocompleted text 2020-06-04 14:50:04 +02:00
Léa Saviot
1599b16e03 [apps/code] Fix current script variables fetching 2020-06-04 14:50:04 +02:00
Léa Saviot
4b36a16cea [apps/code] Fix NodeNameCompare 2020-06-04 14:50:04 +02:00
Léa Saviot
86349675c1 [apps/code] Code cleaning 2020-06-04 14:50:04 +02:00
Léa Saviot
25f73770de [apps/code] Remove compilation warning 2020-06-04 14:50:04 +02:00
Léa Saviot
558d539194 [apps/code] Clean VariableBoxController::scriptNodeAtIndex 2020-06-04 14:50:04 +02:00
Léa Saviot
6f2dedf8ee [apps/code] Search aphabetically if var is already in var box 2020-06-04 14:50:04 +02:00
Léa Saviot
75ea4ce74e [apps/code] Clean comments 2020-06-04 14:50:04 +02:00
Léa Saviot
5d4a3f8726 [apps/code] Add variables in alphabetical order in the var box 2020-06-04 14:50:03 +02:00
Léa Saviot
c273f734fe [apps/code] Add some buitin vars in the varbox 2020-06-04 14:50:03 +02:00
Léa Saviot
eec92d51fc [apps/code] Fix VariableBoxController::autocompletionForText 2020-06-04 14:50:03 +02:00
Léa Saviot
0f02a61dc4 [apps/code] Use textLength in VarBoxController::insertTextInCaller 2020-06-04 14:50:03 +02:00
Léa Saviot
eeb42f2544 [apps/code] autocompletionText uses the right text length
Before, there was no notion that the autocompleted text might not be a
null terminated string.
2020-06-04 14:50:03 +02:00
Léa Saviot
12bb77cd9f [apps/code] Do not import the same current variable twice 2020-06-04 14:50:03 +02:00
Léa Saviot
7f486d790f [apps/code] Get current script variables and functions 2020-06-04 14:50:03 +02:00
Léa Saviot
b9693f1f26 [apps/code] Load variable box with script index argument 2020-06-04 14:50:03 +02:00
Léa Saviot
321f87ea78 [apps/code] VariableBoxController::autocompletionForText 2020-06-04 14:50:03 +02:00
Léa Saviot
f883516716 [apps/code] Editor asks VariableBox for autocompletion 2020-06-04 14:50:03 +02:00
Léa Saviot
72aedaadd0 [apps/code] VarBox contains current/buitin/imported vars and functions 2020-06-04 14:50:03 +02:00
Léa Saviot
4caf9f5197 [coding style] Make some methods const 2019-09-09 20:05:14 +02:00
Ruben Dashyan
eb6d697927 [apps] Make app accessors static members of App classes 2019-07-19 15:06:25 +02:00
Ruben Dashyan
44809f4b3f Substitute Escher app() by Container::activeApp() 2019-07-19 15:06:25 +02:00
Romain Goyet
21907fb89a [apps] Get rid of App casts 2019-07-19 15:06:25 +02:00
Émilie Feral
f713551d46 [code] Get rid of unused member variable in VariableBoxController 2019-05-03 15:53:20 +02:00