Class hierarchy:
- InputEventHandler
- TextInput
- EditableField derives from InputEventHandler
- LayoutField, TextField and ExpressioField derives from EditableField
- TextArea and TextField derives from TextInput
The Var box controller deinited python on exit, and the console
controller did not reload python + it made the console controller lose
all its context, such as imported scripts
The drawing should happen after the ConsoleController is pushed on the
screen. This means that the importation of scripts should be done at the
ConsoleController's viewWillAppear.
Change-Id: I756ac9de30f339dc4f6aa8d3995abea0a46d03b5
When disabling a script auto-import parameter, it would not import
itself when executing it from its script parameters menu.
Change-Id: If58f6fe1be4792b551ad3b462f1f43e8b82e8148
A SandboxController is now pushed on the StackViewController and sets the
KDIonContext::sharedContext before drawing, sets a white background and handles
user input after the Python computation to dismiss the drawing screen.
Change-Id: I51b0474365a85e845227379a16d090541fa8ded7
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
Editing, renaming, deleting or changing the auto-importation of a script
triggers the reloading of the console (the history is cleared, Python
restarted and the scripts re-imported).
Change-Id: If8b933cc077ecd36cab09214b5e7a181aa3ae030
A script can now be imported in the console.
Moved all the MicroPython functions to python/port files.
Change-Id: I0a23e8cb20005719b800e81470e1c574c702c3b7
It stores and displays the result in the console store.
An empty line returned at the end of the execution is deleted.
Change-Id: Ic90e02e2d91d0a0033413da0588032d9450aefd0