The cursor now goes either after the first open parenthesis or at the
end of the command.
Fixed z.real and z.imag.
Change-Id: I46ca3be0415832fd91273ca7fed12ed3d6f125dc
When the user types a letter, the toolbox scrolls to the first row that begins
with said letter (without considering if it is lower or upper case). If
there is not such a row, the toolbox scrolls to the first row that has a
letter higher than the typed letter.
Change-Id: I353d23560d8a4d618d96426c393b024e7fb487af
To know if the AddScript row should be displayed, we need to compute the free
space size of the accordion, which is very slow. We thus memoized a bool
indicating if the AddScript row should be displayed.
Change-Id: Ia3891c0fc8df9b0b8bf2a9ad053be6dfc848c970
The scripts names are on the right and open the script edition.
The left cells open the script options.
Change-Id: I3fbab8c3861f3395c3206775c92cda3470963b26
When there is already the maximal number of scripts or when the
ScriptStore accordion buffer is full.
Change-Id: I0d43d42626da7f060a2309c66f1806b35a29bf38
The scroll is now reloaded when text is inserted or a new line is
entered. When opening a script, the cursor moves to the end of the
script.
Change-Id: I027ea80db485916fc3fc962cfa9e032ca0bbc81e
Removed some constants by computing the text to insert in the textfield from the command
with arguments. Used the TextToInsertForCommandMessage method from
toolbox_helpers.h.
Change-Id: I864ad886fb74882f476d74160e427595be27df40
When the script name is empty after renaming a script, a default new name is
given. We look for the first available scriptI.py name, with 0<I<100.
Change-Id: If17f1df95c552320c0412ce652e7ae7e0cfd9cbc
When the user scrolls the history, the draft command is not erased.
When pasting a previous command, the text is inserted at the cursor
location.
Change-Id: I1cd9645de74f34fad4ed0898203e05bd3352456a
A boolean in ViewController states if the ViewController wants MaximumSpace (do
not show any stack view headers), or if it does not want to add its own title to
the stack view headers. If the ViewController's title is null, it is not added
to the stack view headers.
By default, ButtonRowControllers do not want to add their title (because they
are only used for now in TabViews, where the title is already displayed in the
tab).
Change-Id: I9e4c64b845262e4d44eb03cf769950f9c9e67a3a
MathToolbox methods moved to its parent, Toolbox (in escher).
Node and ToolboxNode classes renamed MessageTree and ToolboxMessageTree.
They are now in escher/, not in apps/.
Change-Id: Ibb26b0e9016094cef79506a1e9fc6dfb492d7103
A TextField delegate should process events before the TextField itself.
EditableCellTableViewController now verifies the position of the cursor to
determine if a Left or Right event should finish the TextField edition.
Change-Id: I6c8e78d6d02c7ab87e7d81770b4242a16fecde32
For instance, the "power" event should insert "**" in the text, not "^".
Added a universal i18n file in apps/code.
Change-Id: I5d067b0c5b86590af95aa98856522d54e42acba6