forked from qt-creator/qt-creator
Adds option to make editor not scroll on debugging
Added an option to change the behavior of the debuggercore so that the current editor isn't always centered on the current line, to stop unnecessary jumping of the code. Change-Id: I9406df518bb1b977e39a0265ee7fd6fae2069ed9 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
virtual int currentLine() const { return 0; }
|
||||
virtual int currentColumn() const { return 0; }
|
||||
virtual void gotoLine(int line, int column = 0) { Q_UNUSED(line) Q_UNUSED(column) }
|
||||
virtual void gotoLine(int line, int column = 0, bool centerLine = true) { Q_UNUSED(line) Q_UNUSED(column) Q_UNUSED(centerLine) }
|
||||
|
||||
virtual QWidget *toolBar() = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user