aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2020-04-24 16:37:16 -0400
committerKen Moore <moorekou@gmail.com>2020-04-24 16:37:16 -0400
commit94c923507b0db790e5c48b79c2bf51e61e2057c4 (patch)
tree58398e38a77726273491368edbdb93d87a72a86e /src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h
parentFix up the detection of icons for windows. (diff)
downloadlumina-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.h1
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;
bgstack15