Mercurial > octave
changeset 21052:5c5af828c248
gui: only center line with debugger pointer if line is at the top or bottom
* file-editor-tab.cc (insert_debugger_pointer): use center_current_line with new
flag for only centering if the line is at the top or the bottom
author | Torsten <ttl@justmail.de> |
---|---|
date | Sat, 09 Jan 2016 15:02:48 +0100 |
parents | 4e2e93ec558a |
children | 12e98e5ebd13 |
files | libgui/src/m-editor/file-editor-tab.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.cc Fri Jan 08 15:30:22 2016 -0500 +++ b/libgui/src/m-editor/file-editor-tab.cc Sat Jan 09 15:02:48 2016 +0100 @@ -2208,7 +2208,7 @@ connect (this, SIGNAL (remove_all_positions (void)), dp, SLOT (handle_remove (void))); - center_current_line (); + center_current_line (false); } }