|
|
@ -123,6 +123,7 @@ public class EditTextCompose extends FixedEditText {
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onTextChanged(CharSequence text, int start, int before, int count) {
|
|
|
|
public void onTextChanged(CharSequence text, int start, int before, int count) {
|
|
|
|
|
|
|
|
try {
|
|
|
|
int index = start + before;
|
|
|
|
int index = start + before;
|
|
|
|
if (count - before == 1 && index > 1) {
|
|
|
|
if (count - before == 1 && index > 1) {
|
|
|
|
char c = text.charAt(index);
|
|
|
|
char c = text.charAt(index);
|
|
|
@ -140,6 +141,9 @@ public class EditTextCompose extends FixedEditText {
|
|
|
|
what = "←";
|
|
|
|
what = "←";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
|
|
|
Log.e(ex);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|