User forums > Using Code::Blocks
How to center editor around cursor?
(1/1)
konjina:
Is this possible in CB?
Maybe as a keyboard shortcut?
oBFusCATed:
You can use ctrl-up/down to move the view and not the cursor.
Also there is an option to prevent the cursor from going to the bottom or top, but I don't think there is a menu item or shortcut for it.
konjina:
--- Quote from: oBFusCATed on March 15, 2018, 01:10:54 am ---You can use ctrl-up/down to move the view and not the cursor.
--- End quote ---
Not quite what I mean.
--- Quote from: oBFusCATed on March 15, 2018, 01:10:54 am ---Also there is an option to prevent the cursor from going to the bottom or top, but I don't think there is a menu item or shortcut for it.
--- End quote ---
Where is it? But it any case, that's not what I mean.
Something like this: https://raw.githubusercontent.com/kaiwood/vscode-center-editor-window/master/images/vscode-center-editor-window.gif
oBFusCATed:
Not possible at the moment, but not something hard to do, so patches welcome.
konjina:
--- Quote from: oBFusCATed on March 15, 2018, 01:31:29 am ---Not possible at the moment, but not something hard to do, so patches welcome.
--- End quote ---
Oh, I'm afraid I'm not that good :-X
In any case it would be really useful.
Navigation
[0] Message Index
Go to full version