marijnh/CodeMirror2 — pull request #212 by usualoma (2011-10-19 08:59:50+00:00)
Title: Add a option for checking update by polling, for the IME user.

Hello,

The users who use multi byte character, need to use the IME for input. However, when using IME, the CodeMirror2 does not work correctly in the Firefox and the Opera.

When useing IME, these browsers won't trigger "keypress" and "keydown" event for the 2nd keystroke or later. therefore, the inputted characters are not immediately reflected to the editor.

And when useing IME, the method of detecting update is only polling.

Thus, the user who use IME, needs the option to check for updates, and reflect.

It may be better that the default value of the "forcePolling" is "false" for the users who does not use IME.

IME: http://en.wikipedia.org/wiki/Input_method_editor