diff options
author | Ken Moore <moorekou@gmail.com> | 2020-04-24 16:37:16 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2020-04-24 16:37:16 -0400 |
commit | 94c923507b0db790e5c48b79c2bf51e61e2057c4 (patch) | |
tree | 58398e38a77726273491368edbdb93d87a72a86e /src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h | |
parent | Fix up the detection of icons for windows. (diff) | |
download | lumina-94c923507b0db790e5c48b79c2bf51e61e2057c4.tar.gz lumina-94c923507b0db790e5c48b79c2bf51e61e2057c4.tar.bz2 lumina-94c923507b0db790e5c48b79c2bf51e61e2057c4.zip |
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
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<Word*> wordList; + QTimer *FTIMER; //Syntax Highlighting class Custom_Syntax *SYNTAX; //Hunspell *hunspell; |