- changed the syntax highlighting for the AppTextEditor such that the strings are not color marked

- changed the syntax highlighting such that for a dark theme the colors are inverted
- made sure that in the AppTextEditor, when a line is highlighted then the text foreground color is black such that the writing can be read over the line highlight
This commit is contained in:
Marius Stanciu
2022-05-12 04:13:23 +03:00
committed by Marius
parent 9eb42f4601
commit 0ee2a19189
3 changed files with 98 additions and 40 deletions

View File

@@ -54,7 +54,7 @@ class AppTextEditor(QtWidgets.QWidget):
# CODE Editor
if self.plain_text:
self.editor_class = FCTextAreaLineNumber(color_dict=color_dict)
self.editor_class = FCTextAreaLineNumber(color_dict=color_dict, theme=self.app.options['global_theme'])
self.code_editor = self.editor_class.edit
sel_color = 'black'