aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-09-06 15:40:30 -0400
committerKen Moore <ken@ixsystems.com>2018-09-06 15:40:30 -0400
commitc72934ff962322e6593780052c4af528f3c75974 (patch)
treee5c60df84fd45461a491f3e1aa567d9220c6d481 /src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h
parentiFix a syntax issue with the cpp.json syntax ruleset (diff)
parentWhen a desktop is resized automatically re-do the wallpaper as well. (diff)
downloadlumina-c72934ff962322e6593780052c4af528f3c75974.tar.gz
lumina-c72934ff962322e6593780052c4af528f3c75974.tar.bz2
lumina-c72934ff962322e6593780052c4af528f3c75974.zip
Merge branch 'master' of github.com:lumina-desktop/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h b/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h
index 8ca8037d..8f174d4b 100644
--- a/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h
+++ b/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.h
@@ -13,7 +13,7 @@
#include <QPaintEvent>
#include <QFileSystemWatcher>
-#include <hunspell/hunspell.hxx>
+//#include <hunspell/hunspell.hxx>
#include "syntaxSupport.h"
#include "Word.h"
@@ -34,7 +34,7 @@ public:
void LoadFile(QString filepath);
bool SaveFile(bool newname = false);
QString currentFile();
- Word *wordAtPosition(int, int);
+ Word *wordAtPosition(int, int);
bool hasChange();
bool readOnlyFile();
@@ -43,10 +43,10 @@ public:
int LNWWidth(); //replacing the LNW size hint detection
void paintLNW(QPaintEvent *ev); //forwarded from the LNW paint event
void updateLNW();
- void setWordList(QList<Word*> _wordList) { wordList = _wordList; }
- void setDictionary(Hunspell *_hunspell) { hunspell = _hunspell; }
+ void setWordList(QList<Word*> _wordList) { wordList = _wordList; }
+ //void setDictionary(Hunspell *_hunspell) { hunspell = _hunspell; }
- QFontMetrics *metrics;
+ QFontMetrics *metrics;
private:
QWidget *LNW; //Line Number Widget
@@ -54,10 +54,10 @@ private:
QSettings *settings;
QString lastSaveContents;
QFileSystemWatcher *watcher;
- QList<Word*> wordList;
+ QList<Word*> wordList;
//Syntax Highlighting class
Custom_Syntax *SYNTAX;
- Hunspell *hunspell;
+ //Hunspell *hunspell;
//Bracket/Perentheses matching functions
int matchleft, matchright; //positions within the document
bgstack15