Add option for disabling the SQL error indicators

See issue #302.
This commit is contained in:
Martin Kleusberg
2015-06-22 12:38:50 +02:00
parent 1870f85e99
commit 5e0d1ba34e
5 changed files with 54 additions and 11 deletions
+3 -2
View File
@@ -17,13 +17,13 @@ public:
explicit SqlTextEdit(QWidget *parent = 0);
virtual ~SqlTextEdit();
int getErrorIndicatorNumber() const { return errorIndicatorNumber; }
static SqlUiLexer* sqlLexer;
public slots:
void reloadKeywords();
void reloadSettings();
void clearErrorIndicators();
void setErrorIndicator(int fromRow, int fromIndex, int toRow, int toIndex);
protected:
void dropEvent(QDropEvent* e);
@@ -32,6 +32,7 @@ private:
void setupSyntaxHighlightingFormat(const QString& settings_name, int style);
int errorIndicatorNumber;
bool showErrorIndicators;
private slots:
void updateLineNumberAreaWidth();