diff options
Diffstat (limited to 'desktop-utilities/lumina-textedit/PlainTextEditor.cpp')
-rw-r--r-- | desktop-utilities/lumina-textedit/PlainTextEditor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-utilities/lumina-textedit/PlainTextEditor.cpp b/desktop-utilities/lumina-textedit/PlainTextEditor.cpp index 4031eacc..4d5ac7ce 100644 --- a/desktop-utilities/lumina-textedit/PlainTextEditor.cpp +++ b/desktop-utilities/lumina-textedit/PlainTextEditor.cpp @@ -51,6 +51,11 @@ void PlainTextEditor::LoadSyntaxRule(QString type){ SYNTAX->rehighlight(); } +void PlainTextEditor::updateSyntaxColors(){ + SYNTAX->reloadRules(); + SYNTAX->rehighlight(); +} + //File loading/setting options void PlainTextEditor::LoadFile(QString filepath){ this->setWhatsThis(filepath); |