[code] Cleaned Script and ScriptStore classes, created accordion.h

A Script object now contains its AutoImport marker, its name and its
content. The ScripStore methods have better names and the optimization
is cleaner.

Change-Id: I1b21af2d23f1c9a34f984309512b0c01b2f1c320
This commit is contained in:
Léa Saviot
2017-10-25 18:02:01 +02:00
committed by Romain Goyet
parent a14cfd0aea
commit fbb5c70339
15 changed files with 498 additions and 419 deletions

View File

@@ -9,7 +9,7 @@ EditorController::EditorController() :
}
void EditorController::setScript(Script script){
m_view.setText(script.editableContent(), script.bufferSize());
m_view.setText(script.editableContent(), script.contentBufferSize());
}
bool EditorController::handleEvent(Ion::Events::Event event) {