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>
This commit is contained in:
David Schulz
2022-09-06 13:01:51 +02:00
parent 2f093aec66
commit d8fcaf0a73
6 changed files with 46 additions and 10 deletions

View File

@@ -203,6 +203,7 @@ public:
int lastSaveRevision = 0;
bool hasMarks = false;
bool hasLocationMarker = false;
int m_requiredWidth = 0;
void setRequiredWidth(int width);