[code] The Python console compiles and executes commands entered.

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
This commit is contained in:
Léa Saviot
2017-10-12 14:00:18 +02:00
committed by Romain Goyet
parent 493cef0d4d
commit c57f9cf8b1
18 changed files with 165 additions and 171 deletions

View File

@@ -4,7 +4,6 @@
#include <escher.h>
#include "console_controller.h"
#include "editor_controller.h"
#include "executor_controller.h"
#include "program.h"
namespace Code {
@@ -21,11 +20,10 @@ public:
int reusableCellCount() override;
void willDisplayCellForIndex(HighlightCell * cell, int index) override;
private:
constexpr static int k_totalNumberOfCells = 3;
constexpr static int k_totalNumberOfCells = 2;
MessageTableCell m_cells[k_totalNumberOfCells];
SelectableTableView m_selectableTableView;
EditorController m_editorController;
ExecutorController m_executorController;
ConsoleController m_consoleController;
};