Windows 10.0.16299.431
When the editor is dragged from one monitor to another in a HiDPI environment, where one monitor has a different scaling factor than another, the caret renders itself in the wrong position.
See https://bitbucket.org/tortoisehg/thg/issues/5086/caret-position-is-incorrect-if-window for a more detailed explanation, including a video showing the bug in action.
The linked issue indicates that the problem occurs with QScintilla. QScintilla is actually a product of Riverbank Computing and is not maintained by me. While the problem could be in cross-platform code, HiDPI support is mostly in platform layers. Possibly the QScintilla platform layer needs to clears positioning caches when the window is moved to a different monitor. You should report this to Riverbank.
There is another port of Scintilla to Qt (ScintillaEditBase and ScintillaEdit) distributed from scintilla.org that I do maintain and I'm interested in any bugs that occur with the scintilla.org version.