Permalink
Browse files

Merge pull request #75 from mkaring/1.4

TextField Bugfix
  • Loading branch information...
2 parents c0a8083 + 46ab605 commit 8ebfd5853c08983ca2efa106346355d3e6271aae @void256 void256 committed Dec 28, 2012
@@ -432,6 +432,9 @@ private boolean filterAndInsert(final char c) {
if (filterInputSingle.acceptInput(cursorPosition, c)) {
text.insert(cursorPosition, c);
cursorPosition++;
+ if (selecting) {
+ startSelecting();
+ }
return true;
}
}
@@ -461,6 +464,9 @@ private boolean filterAndInsert(final CharSequence chars) {
if (filterInputSequence.acceptInput(cursorPosition, insertSequence)) {
text.insert(cursorPosition, chars);
cursorPosition += insertCnt;
+ if (selecting) {
+ startSelecting();
+ }
return true;
} else {
final int length = chars.length();

0 comments on commit 8ebfd58

Please sign in to comment.