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
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
1e2492c5f4
[apps/code] Autocomplete only at the end of the word
...
For instance, if the cursor is: "he|llo" and the user adds the letter
'i', there is no autocompletion provided as the cursor is still in the
middle of a word.
2020-06-04 14:50:03 +02:00
Léa Saviot
77e34f0446
[apps/code] Reload the view for autocompletion changes
2020-06-04 14:50:03 +02:00
Léa Saviot
f82079a40a
[apps/code] Autocomplete only if char before cursor is not ' ' or '\n'
2020-06-04 14:50:03 +02:00
Léa Saviot
a2cc923a02
[apps/code] Fix assertion
2020-06-04 14:50:03 +02:00
Léa Saviot
5dd4f12ee3
[apps/code] Handle acception/dismissal of autocompletion
2020-06-04 14:50:03 +02:00
Léa Saviot
938e0dd840
[apps/code] Autocompletion steps
2020-06-04 14:50:03 +02:00
Léa Saviot
343d2328b8
[ion/utf8_helper] EndOfWord helper
2020-06-04 14:50:03 +02:00
Léa Saviot
32fbea9d06
[apps/code] Handle autocomplete coloring
2020-06-04 14:50:03 +02:00
Léa Saviot
9b8b0bc98f
[apps/code] PythonTextArea should always be the PythonUser when coloring
2020-06-04 14:50:03 +02:00
Roberta Rabotti
33b2633729
[it]python
2020-06-04 14:50:02 +02:00
Roberta Rabotti
71ab038e97
[it]python
2020-06-04 14:50:02 +02:00
Roberta Rabotti
98da319a2b
[it]python
2020-06-04 14:50:02 +02:00
Léa Saviot
6cd9b744e1
[apps/code] Fix some toolbox descriptions
2020-06-04 14:50:02 +02:00
Serenela Moreira
21e4af967a
[pt] base and catalog translations
...
new translations that were missing after version 13
2020-06-04 14:50:02 +02:00
Léa Saviot
e803ada15f
[apps/Makefiles] Automatize i18n adding for different locales
2020-06-04 14:50:02 +02:00
Roberta Rabotti
8aa323b043
[it]python
2020-06-04 14:50:02 +02:00
Léa Saviot
64a221a72c
[apps/code] Add missing i18n (not translated yet)
2020-06-04 14:50:02 +02:00