News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How disable source scrolling while typing ?

Started by cledou, December 23, 2012, 10:07:41 AM

Previous topic - Next topic

cledou

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.

MortenMacFly

Quote from: cledou on December 23, 2012, 10:07:41 AM
How can I disable this ?
Go to the EditorTweaks settings and set the scrolling to -1 (disabled).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

cledou

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 ?

Alpha

Quote from: cledou on December 26, 2012, 09:05:46 AM
Unfortunatly, it doesn't keep this setting after closing C::B.
This bug was fixed... what version are you using?

cledou

#4
SVN 8598 on Windows 7 32 bits (+ MinGW32)
The only 'unusual stuff' is that my installation folder is on D: (D:\Program Files\CodeBlocks)

Alpha

Please upgrade from RC2 to 12.11 stable (or even better, build a snapshot from the trunk ;)).

Explanation (if you were curious):
Quote from: Alpha on November 26, 2012, 01:20:41 AM
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.

cledou