@cwebber @mkwadee An algorithmic choice that plagues all the text editing software I can name.
emacs, vim, GEdit, elementary Code, practically anything else built with GTK+, CodeMirror (used in WebKit's WebInspector and GitHub), etc, etc.
I'm sorry I can't offer an alternative.