From 94c923507b0db790e5c48b79c2bf51e61e2057c4 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 24 Apr 2020 16:37:16 -0400 Subject: Update some syntax highlighting handling. Prevent multi-line rules from starting within a section that was handled by a single-line rule earlier. Also add a 1s delay/timer on file reload if it changes in the background. Also add detection for bash scripts automatically --- src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h') diff --git a/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h b/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h index 8f174d4b..8f2d7e98 100644 --- a/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h +++ b/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h @@ -55,6 +55,7 @@ private: QString lastSaveContents; QFileSystemWatcher *watcher; QList wordList; + QTimer *FTIMER; //Syntax Highlighting class Custom_Syntax *SYNTAX; //Hunspell *hunspell; -- cgit