Predictive Chinese input is very special - it doesn't have an inline input area, but critically depends on us calling -discardMarkedText at exactly the right times. Changes in when editor state is updated resulted in us calling it too eagerly. Updating editor state was and remains hopelessly broken, thankfully, we will not depend on it as much with async input. Steps to reproduce: 1. Enable Cangjie input. 2. Type "sina" 3. Press "1" several times. Expected results: each time "1" is pressed, something is inserted, and a new suggestion popup appears. Actual results: After the first time, there is no suggestion popup.
Created attachment 227495 [details] proposed patch
Comment on attachment 227495 [details] proposed patch Looks good.
Committed <http://trac.webkit.org/r166105>.