diff options
author | Wiebe Cazemier <[email protected]> | 2014-05-02 12:08:44 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2014-05-08 15:20:48 +0200 |
commit | b63d9c6df0e6638c2b40a7351026aed6aab2b953 (patch) | |
tree | 3dcfcec0f5e00d5f9596e14890d882a506522bff /src/plugins/debugger/debuggeractions.cpp | |
parent | 97ece795e092cf2b26f7ec84bdd5135fa70a8876 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggeractions.cpp')
-rw-r--r-- | src/plugins/debugger/debuggeractions.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggeractions.cpp b/src/plugins/debugger/debuggeractions.cpp index c13f117a43e..c36bfd0169b 100644 --- a/src/plugins/debugger/debuggeractions.cpp +++ b/src/plugins/debugger/debuggeractions.cpp @@ -177,6 +177,13 @@ DebuggerSettings::DebuggerSettings() 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")); item->setCheckable(true); |