[ion/unicode] Clean special code points

This commit is contained in:
Léa Saviot
2019-03-26 14:49:11 +01:00
committed by Émilie Feral
parent 5c9bdbf1f1
commit 82d5ff7799
24 changed files with 108 additions and 86 deletions

View File

@@ -233,7 +233,7 @@ void ExpressionModelListController::editExpression(Ion::Events::Event event) {
ExpiringPointer<ExpressionModelHandle> model = modelStore()->modelForRecord(record);
model->text(initialTextContent, initialTextContentMaxSize);
initialText = initialTextContent;
// Replace Poincare::Symbol::SpecialSymbols::UnknownX with 'x'
// Replace UCodePointUnknownX with 'x'
replaceUnknownSymbolWithReadableSymbol(initialTextContent);
}
inputController()->edit(this, event, this, initialText,