improve highlighting settings to also show errors with different color

This commit is contained in:
Axel Kohlmeyer
2023-08-25 21:19:05 -04:00
parent 401133acec
commit 5b5210130c
6 changed files with 38 additions and 13 deletions

View File

@ -29,7 +29,10 @@ public:
void lineNumberAreaPaintEvent(QPaintEvent *event);
int lineNumberAreaWidth();
void setFont(const QFont &newfont);
void setHighlight(int block);
void setCursor(int block);
void setHighlight(int block, bool error);
static constexpr int NO_HIGHLIGHT = 1 << 30;
protected:
void resizeEvent(QResizeEvent *event) override;