Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: cledou on December 23, 2012, 10:07:41 am

Title: How disable source scrolling while typing ?
Post by: cledou on December 23, 2012, 10:07:41 am
There is a new feature in recent release of code::blocks that give me seasickness: while typing, the code is scrolling up and down to have the line in the middle of the screen.
How can I disable this ?
Have a merry Christmas and happy new year.
Title: Re: How disable source scrolling while typing ?
Post by: MortenMacFly on December 23, 2012, 03:11:21 pm
How can I disable this ?
Go to the EditorTweaks settings and set the scrolling to -1 (disabled).
Title: Re: How disable source scrolling while typing ?
Post by: cledou on December 26, 2012, 09:05:46 am
Ok, it's works. Thanks.
Unfortunatly, it doesn't keep this setting after closing C::B.
Where is the file keeping this settings ? Can I delete it to force a fresh copy ?
Title: Re: How disable source scrolling while typing ?
Post by: Alpha on December 26, 2012, 03:49:48 pm
Unfortunatly, it doesn't keep this setting after closing C::B.
This bug was fixed... what version are you using?
Title: Re: How disable source scrolling while typing ?
Post by: cledou on December 26, 2012, 03:59:29 pm
SVN 8598 on Windows 7 32 bits (+ MinGW32)
The only 'unusual stuff' is that my installation folder is on D: (D:\Program Files\CodeBlocks)
Title: Re: How disable source scrolling while typing ?
Post by: Alpha on December 26, 2012, 04:12:09 pm
Please upgrade from RC2 to 12.11 stable (or even better, build a snapshot from the trunk ;)).

Explanation (if you were curious):
Sorry, RC2 is rev 8598, but the missing initialization was fixed in rev 8599 (fix arrived one commit too late :().  This means that in RC2, this one setting (for buffering the caret position in the editor) is a random number at startup, and only reads your config when the editor settings window is opened.
You may want to disable the EditorTweaks plugin until you either create your own build from the trunk, or the next RC is released.
Title: Re: How disable source scrolling while typing ?
Post by: cledou on December 26, 2012, 04:21:44 pm
Ok. Works fine with stable 12.11.
Thanks.