Created attachment 106707 [details] Examples screenshot When, in the code, a character like '…', '«', '»', 'ç', 'ß' is used, the code highlighting after it is shifted. Example: OK: `std::cout << "Does this work?" << std::endl;` BUG: `std::cout << "Does this work?…" << std::endl;` here the shift is of 2 characters BUG: `std::cout << "Does this work?ç" << std::endl;` here the shift is of 1 character
I'm pretty sure this is the same issue that this person runs into: https://stackoverflow.com/questions/47192819/libclang-get-correct-reference-of-identifier-with-extended-characters-for-vari
(In reply to Dan Weatherill from comment #1) > I'm pretty sure this is the same issue that this person runs into: > https://stackoverflow.com/questions/47192819/libclang-get-correct-reference- > of-identifier-with-extended-characters-for-vari That only means libclang reports byte indices instead of character indices. But KDevelop has the lines so has all the information necessary to convert them back and forth.
*** This bug has been marked as a duplicate of bug 274430 ***