Cursor postion incorrectly showing in IE10+


Please provide us solution to show exact position of cursor. As at present, when we are typing, the cursor is pointing in different location but entering text is in different place.

This issue in occuring in IE10+ (Tested in IE9,IE10 and IE11).

FYI: we are using codemirror 5.12 with sql mode.

You may need to call .refresh() on your editor – see here.

I added the plugin and tried but still facing the same issue.

Then try to reduce you page down to the simplest possible situation that triggers the problem, and if that doesn’t already tell you what the issue is, put the minimal HTML page somewhere for me to debug.

Issue is fixed in IE10 by changing ‘lineWrapping :false’ and used css properties as below

.CodeMirror pre {
white-space: pre-wrap;
word-break: break-all;
word-wrap: break-word;

Thank You

FYI: Please check this