Skip to content

Commit

Permalink
Remove temporary code
Browse files Browse the repository at this point in the history
  • Loading branch information
hypest committed Apr 25, 2019
1 parent d17e5d2 commit 166b206
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,6 @@ private boolean onEnter(Spanned text, boolean firedAfterTextChanged, int selStar
String content = toHtml(text, false);
int cursorPositionStart = firedAfterTextChanged ? selStart : getSelectionStart();
int cursorPositionEnd = firedAfterTextChanged ? selEnd : getSelectionEnd();
// if (firedAfterTextChanged) {
// cursorPositionStart--;
// cursorPositionEnd--;
// }
enableTextChangedListener();
ReactContext reactContext = (ReactContext) getContext();
EventDispatcher eventDispatcher = reactContext.getNativeModule(UIManagerModule.class).getEventDispatcher();
Expand Down

0 comments on commit 166b206

Please sign in to comment.