SUMMARY Sematic highlighting stops work after insert one or more lines, but only in code present below inserted lines. Needs to refresh file to get proper sematic highlighting in opened file. I think this didn't happen in previous version, so seems to be regression. STEPS TO REPRODUCE 1. Open project with several files 2. Open couple files 3. After indexing finished try to modify one of them 4. In the middle of code insert one or more lines (with correct syntax) OBSERVED RESULT Sematic highlighting stops work in code below inserted lines and needs to refresh whole file EXPECTED RESULT Sematic highlighting should not stops work after inserting any lines SOFTWARE/OS VERSIONS Linux/KDE Plasma: Antergos/KDE (available in About System) KDE Plasma Version: 5.21.2 KDE Frameworks Version: 5.79.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION I observed also this issue in today's version of KDevelop built from code coming from master branch: kdevelop-git-5.6.2.r288.g0ac533db1e KDE Application part in version 20.12.3 (among other: Kate, KWrite)
This is a bug in KTextEditor 5.79, not in KDevelop directly. It will be fixed by the next KDE Frameworks release. https://invent.kde.org/frameworks/ktexteditor/-/commit/686da7797105a93035cfbc7edbf2a8e8f8adf0ec *** This bug has been marked as a duplicate of bug 433434 ***
Thanks for very quick answer.