diff options
author | David Schulz <david.schulz@qt.io> | 2022-09-06 13:01:51 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2022-09-07 04:17:37 +0000 |
commit | d8fcaf0a7370800518d6b8b94a4728b5f153b5e5 (patch) | |
tree | 7423088afc8c0b8cd0a7ca69c5c3901dffdf5286 /src/plugins/texteditor/textdocumentlayout.h | |
parent | 2f093aec6694d63e3e46a3ce6cd9b98a163b081a (diff) |
Editor: paint location marker over everything else
The location marker is updated very regularly and especially while
stepping moves one line at a time. Resizing this marker when it enters a
line that already contains a marker is visually distracting. To prevent
this paint the marker over all other markers in that line.
Change-Id: I63ad72384e77eeae4dc6d2e2c2ac77c88da92c56
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/texteditor/textdocumentlayout.h')
-rw-r--r-- | src/plugins/texteditor/textdocumentlayout.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/textdocumentlayout.h b/src/plugins/texteditor/textdocumentlayout.h index bdbaf44877..1910c7ed87 100644 --- a/src/plugins/texteditor/textdocumentlayout.h +++ b/src/plugins/texteditor/textdocumentlayout.h @@ -203,6 +203,7 @@ public: int lastSaveRevision = 0; bool hasMarks = false; + bool hasLocationMarker = false; int m_requiredWidth = 0; void setRequiredWidth(int width); |