mirror of https://gitlab.com/basile.b/dexed.git
gdb commander, center view after click on call stack view
This commit is contained in:
parent
cdde8fe37f
commit
cf93e0d9e6
|
@ -1,3 +1,9 @@
|
|||
# v3.9.22-dev
|
||||
|
||||
## Enhancements
|
||||
|
||||
- GDB Commander, center editor view after double click on the call stack.
|
||||
|
||||
# v3.9.22
|
||||
|
||||
## Enhancements
|
||||
|
|
|
@ -3084,7 +3084,10 @@ begin
|
|||
fDocHandler.openDocument(nme);
|
||||
doc := fDocHandler.findDocument(nme);
|
||||
if doc.isAssigned then
|
||||
begin
|
||||
doc.CaretY:= itm.line;
|
||||
doc.centerCursor();
|
||||
end;
|
||||
gdbCommand('-stack-select-frame ' + intToStr(lstCallStack.ItemIndex));
|
||||
if fOptions.autoGetVariables then
|
||||
infoVariables;
|
||||
|
|
Loading…
Reference in New Issue