marijnh/CodeMirror — pull request #1382 by mutahhir (2013-03-20 09:27:42+00:00)
Title: Adding markers while composing text

This is my first pull request here, so please bear with me.

In Mac OSX, during composing IME characters, there is a visual marker that is shown for the character / series of characters that will be affected by further input.

The submitted code enables this feature, however uses composition events to make this work.

Please find attached below an image of how this looks like currently:

![Screen Shot 2013-03-20 at 5 26 06 PM](https://f.cloud.github.com/assets/573531/279920/3e2d6c72-9140-11e2-888d-efe83ead1196.png)

Please let me know if there are further improvements required, or whether there's a better way to add the markers. I'm unfortunately a little new with the CodeMirror codebase.

Thanks
Mutahhir