Code::Blocks Forums
User forums => Help => Topic started by: visir on December 18, 2017, 07:42:48 pm
-
When I'm using arrow keys to scroll through source code, cursor is at the very bottom of the "text subwindow". I don't see ahead.
I'd like for codeblocks to always show 3 lines ahead of cursor (or more). In emacs, I do this with "(setq scroll-margin 4)".
-
If you have the EditorTweaks-plugin installed (on linux you need the codeblocks-contrib package), you can go change "Settings -> Editor -> Editor Tweaks -> Editor caret buffer".
-
Doesn't work with debugger. Doesn't center when I'm stepping through code.
What should I change in the source code, where I should look? I have it compiled here.
-
Look at cbDebuggerPlugin::SyncEditor and cbEditor::GotoLine.
I guess it will be a good idea to move the editor tweak setting in the core so it could be respected in more places.
-
Implemented in rev11296... Thanks for reporting...