Don't insert space after punctuation after accepted word suggestion
When accepting a word from the suggestion bar, a space character is inserted after it, e.g. word_
- that's fine.
When typing a punctuation as the next character, it is inserted before the space, e.g. word._
(not in Android environment)
For consistency reasons, the punctuation character should replace the space, instead of being inserted before it, e.g. word.
- When not using suggested words, there is no space auto-appended to punctuation characters.
- The behavior makes it awful to write an ellipsis (
...
) after an accepted suggestion, which always ends up as._..
If the space-appending behavior is actually desired, manual input should at least be processed in a similar fashion. (And ideally provide auto-correct for ellipsis.)
Related: [bug] Remove space before punctuation in Android application.
A workaround is to manually delete the space before writing the punctiation.
Tanghus ( 2014-12-30 17:30:31 +0200 )edit