Bug 433974 - Sematic highlighting stops work after insert one or more lines in the middle of code
Summary: Sematic highlighting stops work after insert one or more lines in the middle...
Status: RESOLVED DUPLICATE of bug 433434
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (other bugs)
Version First Reported In: 5.6.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-04 23:40 UTC by Piotr Mierzwinski
Modified: 2021-03-04 23:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2021-03-04 23:40:44 UTC
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)
Comment 1 Francis Herne 2021-03-04 23:51:13 UTC
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 ***
Comment 2 Piotr Mierzwinski 2021-03-04 23:58:23 UTC
Thanks for very quick answer.