diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-12-28 12:30:48 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-12-28 12:30:48 +0100 |
commit | 16beb55484c20b8b1e92afdf5720fa3860d77309 (patch) | |
tree | ffb199f4c77247f1abef8091a5fc4ad459ecb224 /src/codeeditor.h | |
parent | 0ee75305070f79b12cbfa5a31b17c543d0517428 (diff) |
Show error line in red in the editor.
Diffstat (limited to 'src/codeeditor.h')
-rw-r--r-- | src/codeeditor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/codeeditor.h b/src/codeeditor.h index a470a52..f25cdbf 100644 --- a/src/codeeditor.h +++ b/src/codeeditor.h @@ -67,6 +67,7 @@ protected: public slots: void runningLine(int lineno); + void errorLine(QString file, int lineno, QString msg); private slots: void updateLineNumberAreaWidth(int newBlockCount); @@ -76,6 +77,7 @@ private slots: private: QWidget *lineNumberArea; int lineNumber; + int errorLineNumber{0}; }; class LineNumberArea |