input-method-handler: only reset the input method, if last char in the commit string is a letter, space, or single quote
Created by: balcy
when entering a number at the end of a word, it is automatically commited. (no reset needed)
Created by: balcy
when entering a number at the end of a word, it is automatically commited. (no reset needed)