Commit 1263babf authored by Jarek Kobus's avatar Jarek Kobus
Browse files

Enable line numbers selection in pro editor



Make it possible to select multiple lines in pro editor by d'n'd over
the line numbers like in the cpp editor.
Reviewed-by: default avatarmae <qt-info@nokia.com>
parent ce3a90fc
......@@ -3497,7 +3497,7 @@ void BaseTextEditor::extraAreaMouseEvent(QMouseEvent *e)
toggleBlockVisible(c);
d->moveCursorVisible(false);
}
} else if (d->m_marksVisible && e->pos().x() > markWidth) {
} else if (d->m_lineNumbersVisible && e->pos().x() > markWidth) {
QTextCursor selection = cursor;
selection.setVisualNavigation(true);
d->extraAreaSelectionAnchorBlockNumber = selection.blockNumber();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment