I pressed Ctrl + Capslock instead of Ctrl+Tab 4-5 times. Each time the font-size of the editor shrunk. I checked Settings -> Editor -> Font, but the problem was not from font-size, it's like a "zoom-out" thing. I tried sudo apt-get remove codeblocks and sudo apt-get install codeblocks but unfortunately it didn't reset the preferences. What can I do now?
Asked
Active
Viewed 2.1k times
7
smrdo_prdo
- 197
3 Answers
5
It's just a zoom out shortcut. I was able to solve the problem by holding Ctrl and scrolling with the mouse wheel. Ctrl + Scroll Up to Zoom Out and Ctrl + Scroll Down to Zoom In.
2
I know this is an old question, but the answers are incomplete.
To reset your editor font size to normal you can use:
Edit->Special commands->Zoom->Reset from the menu,
or you can bind a shortcut for that (you need to have the codeblocks-contribpackage installed):
Settings->Editor->Keyboard Shortcuts and set to what you want, mine is Ctrl+0 (zero) because that is a common shortcut for this.
smrdo_prdo
- 197
-
This was quite helpful, for using a laptop where there is no scroll wheel. – rsethc Jun 16 '19 at 05:51
http://. Then we can check them and edit them into your question for you. – Eliah Kagan Dec 23 '12 at 12:28apt-get remove [], you should do it withapt-get purge []– Mohammad Jafar Mashhadi Jul 03 '13 at 06:19apt-get purgewill only remove systemwide configuration files. If you need to remove user-specific preferences, you generally need to find and delete configuration files/directories in your home directory. (They usually start with a., or reside in.config; to see them in Nautilus, press Ctrl+H or View > Show Hidden Files.) What does this have to do with the font size in Code::Blocks? – Eliah Kagan Jul 03 '13 at 16:33removeinstead ofpurge– Mohammad Jafar Mashhadi Jul 04 '13 at 07:11purgeworked. It's strange that it did work though. Most of the time when an interface setting like this is changed, it's changed for individual users only, and not systemwide. – Eliah Kagan Jul 04 '13 at 08:23