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

            Bug ID: 454715
           Summary: Syntax highlighting sometimes gets reset when the file
                    is reloaded
           Product: kate
           Version: 22.04.1
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: felipelorenz...@gmail.com
  Target Milestone: ---

STEPS TO REPRODUCE
1. Open a code file (I mainly edit React .js files, but this seems to happen
with other formats too)
2. Modify the file externally (by changing git branches, by formatting it with
'prettier', etc) or simply press F5

OBSERVED RESULT
Sometimes, the syntax highlighting will be reset and the text appears totally
white. The syntax mode show at the bottom right corner is correct, but is not
applied. I need to click that menu and select the language again. I haven't
found correlations between this bug and other factors, it seems random.

EXPECTED RESULT
The file should reload and keep the original syntax highlighting.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to