[poincare] Implement SerializationHelper and

SerializationHelperInterface. WriteTextInBuffer->serialize
This commit is contained in:
Émilie Feral
2018-08-08 15:31:40 +02:00
parent cb4bb4f8f0
commit aaa20a58fa
149 changed files with 247 additions and 277 deletions

View File

@@ -77,7 +77,7 @@ bool App::layoutFieldDidReceiveEvent(::LayoutField * layoutField, Ion::Events::E
int bufferLength = Calculation::k_printedExpressionSize;
char bufferForParsing[bufferLength];
layoutField->writeTextInBuffer(bufferForParsing, bufferLength);
layoutField->serialize(bufferForParsing, bufferLength);
if (!textInputIsCorrect(bufferForParsing)) {
displayWarning(I18n::Message::SyntaxError);