From bf9555c038eee2a40067d8d4cc32e7a863a89efc Mon Sep 17 00:00:00 2001 From: serso Date: Fri, 4 Mar 2016 22:53:22 +0100 Subject: [PATCH] Fix editor update --- .../java/org/solovyev/android/calculator/EditorView.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/main/java/org/solovyev/android/calculator/EditorView.java b/app/src/main/java/org/solovyev/android/calculator/EditorView.java index c92fcacb..1e5a4400 100644 --- a/app/src/main/java/org/solovyev/android/calculator/EditorView.java +++ b/app/src/main/java/org/solovyev/android/calculator/EditorView.java @@ -108,13 +108,7 @@ public class EditorView extends EditTextCompat { @Override protected void onSelectionChanged(int start, int end) { Check.isMainThread(); - if (!editorChange) { - return; - } - // external text change => need to notify editor super.onSelectionChanged(start, end); - - // only if cursor moving, if selection do nothing if (start != end) { return; }