It does cause problems in Scintilla.NET where I have to maintain utf-8 <-> utf-16 index mappings and suddenly Scintilla gives me a nonsense position which makes GetEndStyled() calculate a position pointing to a low surrogate pair instead of an actual character.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Code dates to https://sourceforge.net/p/scintilla/code/ci/e43869593dfe/ .
This doesn't appear to cause further problems. Why do you want it changed?
It does cause problems in Scintilla.NET where I have to maintain utf-8 <-> utf-16 index mappings and suddenly Scintilla gives me a nonsense position which makes
GetEndStyled()calculate a position pointing to a low surrogate pair instead of an actual character.