forked from qt-creator/qt-creator
Terminal: Fix mouse selection
Previously m_selection was not correctly ordered such that start < end. This patch fixes that and also adds optional debug visualizations to aid in debugging / validating the selection. Change-Id: I9b0d2fcd917f39eeb5082bc374796fed91521c7c Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
committed by
Cristian Adam
parent
1d6c161124
commit
dc4ec494b3
@@ -103,6 +103,7 @@ protected:
|
||||
qreal topMargin() const;
|
||||
|
||||
QPoint viewportToGlobal(QPoint p) const;
|
||||
QPoint globalToViewport(QPoint p) const;
|
||||
QPoint globalToGrid(QPoint p) const;
|
||||
|
||||
int textLineFromPixel(int y) const;
|
||||
|
||||
Reference in New Issue
Block a user