User forums > Help
How to center text? (always show text ahead)
(1/1)
visir:
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)".
Jenna:
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".
visir:
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.
oBFusCATed:
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.
oBFusCATed:
Implemented in rev11296... Thanks for reporting...
Navigation
[0] Message Index
Go to full version