Don't insert space after punctuation after accepted word suggestion

asked 2014-12-30 16:19:31 +0200

tokaru gravatar image

updated 2014-12-31 11:50:42 +0200

eric gravatar image

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.

  1. When not using suggested words, there is no space auto-appended to punctuation characters.
  2. 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.

edit retag flag offensive close delete

Comments

1

A workaround is to manually delete the space before writing the punctiation.

Tanghus ( 2014-12-30 17:30:31 +0200 )edit