From 07bc7672e80e6f3feeaed31429c0d0a303d29e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Tue, 21 Nov 2017 13:33:13 +0100 Subject: [PATCH] [code] Fixed cursor bug when inserting text in editor. Now the cursor moves only if the insterion was successful. Change-Id: If2f74307aecd4b9b86183a3437a53fd8875c1751 --- apps/code/app.cpp | 14 +++++++------- apps/code/editor_controller.cpp | 4 +++- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/apps/code/app.cpp b/apps/code/app.cpp index 07b8a5830..44065a7f8 100644 --- a/apps/code/app.cpp +++ b/apps/code/app.cpp @@ -43,26 +43,26 @@ App::App(Container * container, Snapshot * snapshot) : m_toolboxActionForTextArea([](void * sender, const char * text) { TextArea * textArea = static_cast