[code] Each script has a name, stored in the accordeon buffer.

A script can now be imported in the console.
Moved all the MicroPython functions to python/port files.

Change-Id: I0a23e8cb20005719b800e81470e1c574c702c3b7
This commit is contained in:
Léa Saviot
2017-10-19 13:52:18 +02:00
committed by Romain Goyet
parent f3200fe2e9
commit 5de4b5cd67
34 changed files with 868 additions and 600 deletions

View File

@@ -8,8 +8,8 @@ EditorController::EditorController() :
{
}
void EditorController::setProgram(Program program){
m_view.setText(program.editableContent(), program.bufferSize());
void EditorController::setScript(Script script){
m_view.setText(script.editableContent(), script.bufferSize());
}
bool EditorController::handleEvent(Ion::Events::Event event) {