https://bugs.kde.org/show_bug.cgi?id=440412
Bug ID: 440412
Summary: Broken python file syntax after the r'\\' expression
Product: frameworks-syntax-highlighting
Version: 5.84.0
Platform: Archlinux Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: syntax
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
Python file syntax highlighting (in KDevelop) is definitely broken after the
line containing the r'\\' expression. It was probably broken in the last
framework release.
STEPS TO REPRODUCE
1. Open KDevelop
2. Create a new file containing:
class Any:
def AnyMethod(self):
pat = r'\\text'
print ('still correct here')
pat = r'\\'
print ('broken here')
2. Select Python syntax for this file
3. Observe the result
OBSERVED RESULT
File syntax highlight is broken after the pattern r'\\' until the end of the
python file
EXPECTED RESULT
Pattern r'\\' (or possibly r"\\") shall not break the syntax highlighting
SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.