Léa Saviot
5393ec7273
[apps/code] Add matplotlib.pyplot in the var box
2020-06-04 14:50:05 +02:00
Léa Saviot
003317647e
[apps/code] Display empty message in var box
2020-06-04 14:50:05 +02:00
Léa Saviot
398de8bda3
[apps/code] Empty controller in the var box
2020-06-04 14:50:05 +02:00
Léa Saviot
f98c171d2a
[apps/variable_box] Prepare for Code::VariableBox factorization
2020-06-04 14:50:05 +02:00
Léa Saviot
f371126708
[apps/code] Fix assertion
2020-06-04 14:50:05 +02:00
Léa Saviot
33d8d10286
[apps/code] Do not select subtitles in the variable box
2020-06-04 14:50:05 +02:00
Léa Saviot
0d6016116d
[apps/code] Cosmetic fixes on the variable box
2020-06-04 14:50:05 +02:00
Léa Saviot
bbeb17c3a9
[apps/code] Rename ScriptNode::Types to With/WithoutParentheses
...
Because some functions already have the parentheses in their name, so
their type would have been Variable but it is clearer to give it the
type WithoutParentheses. this is the case for nodes created from toolbox
nodes.
2020-06-04 14:50:05 +02:00
Léa Saviot
74b786f875
[apps/code] Add list methods to the variable box
2020-06-04 14:50:05 +02:00
Léa Saviot
3d64b8dc47
[apps] AlternateEmptyNestedMenuController handles empty lists
2020-06-04 14:50:05 +02:00
Léa Saviot
b41d1e393e
[apps/code] Autocomplete when cursor at the end of the word
...
Not just after adding or deleting text
2020-06-04 14:50:05 +02:00
Léa Saviot
03471bb7b4
[apps/code] Insert right text form var box
...
The text was iffset due to the subtitle rows
2020-06-04 14:50:05 +02:00
Léa Saviot
38854d2435
[apps/code] Fix cell type
2020-06-04 14:50:05 +02:00
Léa Saviot
1d416b3299
[apps/code] Fix varbox row height
2020-06-04 14:50:05 +02:00
Léa Saviot
d5e1e620fd
[apps/code] Display source and description in var box
2020-06-04 14:50:05 +02:00
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
69abd75460
[apps/code] Clean ScriptNodeCell
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
0b0a7227a6
[apps/code– Fix typo in python_toolbox
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
af3394d35a
[apps/code] Better event handling for autocompletion
2020-06-04 14:50:04 +02:00
Léa Saviot
5a37b1df53
[apps/code] Use Default color at beginning of autocompleted token
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
14f914e3d6
[apps/code] Remove unused functions and argument
2020-06-04 14:50:04 +02:00
Léa Saviot
bc4d96bc3f
[apps/code] Reload the variable box less often
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