forked from qt-creator/qt-creator
Adjust mark area width to mark width.
Patch by Kevin Funk
This commit is contained in:
@@ -3576,7 +3576,8 @@ int BaseTextEditorWidget::extraAreaWidth(int *markWidthPtr) const
|
||||
int markWidth = 0;
|
||||
|
||||
if (d->m_marksVisible) {
|
||||
markWidth += fm.lineSpacing();
|
||||
markWidth += documentLayout->maxMarkWidthFactor * fm.lineSpacing();
|
||||
|
||||
// if (documentLayout->doubleMarkCount)
|
||||
// markWidth += fm.lineSpacing() / 3;
|
||||
space += markWidth;
|
||||
|
||||
Reference in New Issue
Block a user