https://bugs.kde.org/show_bug.cgi?id=426190

            Bug ID: 426190
           Summary: [KDevelop] : C++ code highlighter glitch
           Product: kdevelop
           Version: 5.5.80
          Platform: Compiled Sources
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: rjvber...@gmail.com
  Target Milestone: ---

SUMMARY
The C++ code highlighter derails in KDMGeneralWidget::loadGuiStyles() 

STEPS TO REPRODUCE
1. Fetch my KDM5 project from github:RJVB/kdm5.git and import it into KDevelop
2. open kdm/kcm/kdm-gen.cpp and navigate to `KDMGeneralWidget::loadGuiStyles()`

OBSERVED RESULT
The highlighting and auto-indenting are off from the #else in that function if
code is forced to use the #else branch.

EXPECTED RESULT
It should make no difference if the code has `#if 0` or `#if 1`.

SOFTWARE/OS VERSIONS
KDE Frameworks Version: 5.60.0
Qt Version: 5.9.8

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to