Skip to content

Commit

Permalink
fix softkeyboard delete
Browse files Browse the repository at this point in the history
  • Loading branch information
mgod committed Mar 24, 2015
1 parent 4687c87 commit 073fa83
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1314,9 +1314,6 @@ public boolean deleteSurroundingText(int beforeLength, int afterLength) {
if (getSelectionStart() <= prefix.length())
beforeLength = 0;

if(beforeLength > afterLength) {
return deleteSelectedObject(false);
}
return deleteSelectedObject(false) || super.deleteSurroundingText(beforeLength, afterLength);
}
}
Expand Down

0 comments on commit 073fa83

Please sign in to comment.