Author Topic: MacOS: Changing font/size in editor window  (Read 6813 times)

Offline jcourcoul

  • Single posting newcomer
  • *
  • Posts: 2
MacOS: Changing font/size in editor window
« on: November 08, 2011, 12:52:41 am »
I'm using CB 10.05 on a MacBook Pro running Leopard 10.5.8. I need to project the screen with an overhead at a 1280x768 resolution. However, the default font & size in the editor window makes the code very hard to read. If I try to change it in the Settings:Editor:General Settings pane by clicking on the Font/Change button, when I try to save the changes with the Ok button at the bottom, CB always crashes and, upon restart, reverts back to the default. The change is not saved. This happens whether I change the font, the size, or anything.

How can I get the change to stick permanently?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: MacOS: Changing font/size in editor window
« Reply #1 on: November 08, 2011, 10:08:27 am »
How can I get the change to stick permanently?
This usually works. Can you try what happens if you disable the CC and the "Keyboard shortcuts" plugin? (Then restart, then try again with the settings...)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: MacOS: Changing font/size in editor window
« Reply #2 on: November 08, 2011, 10:11:11 am »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline jcourcoul

  • Single posting newcomer
  • *
  • Posts: 2
Re: MacOS: Changing font/size in editor window
« Reply #3 on: November 10, 2011, 06:01:39 pm »
This usually works. Can you try what happens if you disable the CC and the "Keyboard shortcuts" plugin? (Then restart, then try again with the settings...)
Strictly speaking, with 10.05 this was a no-go. While the Keyboard Shortcuts plugin does go away quietly, the Cccc plugin (if that is the one you meant) reasserts and reenables itself after a crash.

However, a devious workaround was found. Since CB take forever and a day to start up, there is an instant midway thru the process when the menus are up and running, but the main window has not appeared. If you can catch the instant, the Settings/Editor window will pop up, the General Settings pane will work and you can fiddle with the Choose fonts button and popup window. Then, when you apply the changes with Ok, the main window will appear and the font settings will be honored. Plus, when you quit and return, the changes will still be there. Woe befall you if CB should crash, however, cause all will revert to the original icky mini-font & size. Don't know if disabling the Keyboard Shortcuts plugin helped, but subjectively it appears to take a tad longer to load, giving you a little extra edge to have success with this workaround.

Oh, and closing the main window to carry out the adjustments is a no-go since CB will misinterpret your closing of the window as a synonym for quitting and exit normally.

Will try out the nightly build...