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:
@@ -176,6 +176,13 @@ DebuggerSettings::DebuggerSettings()
|
||||
item->setDefaultValue(false);
|
||||
insertItem(UseAlternatingRowColors, item);
|
||||
|
||||
item = new SavedAction(this);
|
||||
item->setText(tr("Keep Editor Stationary When Stepping"));
|
||||
item->setSettingsKey(debugModeGroup, QLatin1String("StationaryEditorWhileStepping"));
|
||||
item->setCheckable(true);
|
||||
item->setDefaultValue(false);
|
||||
insertItem(StationaryEditorWhileStepping, item);
|
||||
|
||||
item = new SavedAction(this);
|
||||
item->setText(tr("Debugger Font Size Follows Main Editor"));
|
||||
item->setSettingsKey(debugModeGroup, QLatin1String("FontSizeFollowsEditor"));
|
||||
|
||||
Reference in New Issue
Block a user