changes
This commit is contained in:
parent
c4d49c421c
commit
7abdf5f5e6
@ -186,7 +186,11 @@ public class AndroidCalculatorEditorView extends EditText implements SharedPrefe
|
|||||||
if (!viewStateChange) {
|
if (!viewStateChange) {
|
||||||
// external text change => need to notify editor
|
// external text change => need to notify editor
|
||||||
super.onSelectionChanged(selStart, selEnd);
|
super.onSelectionChanged(selStart, selEnd);
|
||||||
Locator.getInstance().getEditor().setSelection(selStart);
|
|
||||||
|
if ( selStart == selEnd ) {
|
||||||
|
// only if cursor moving, if selection do nothing
|
||||||
|
Locator.getInstance().getEditor().setSelection(selStart);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user