Adjust mark area width to mark width.

Patch by Kevin Funk
This commit is contained in:
hjk
2011-03-23 10:45:04 +01:00
parent 1e8e9612c3
commit f67e9a54c9
4 changed files with 33 additions and 4 deletions

View File

@@ -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;