News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Code Decoherence from Bad Line Spacing

Started by pieman, November 04, 2012, 07:44:02 PM

Previous topic - Next topic

pieman

The line spacing ratio seems to be 3/5. I carefully measured a 6px:10px ratio, 10px font. I'm using the "Courier New" font face. That means my 10px-tall lines are seperated by at least another 6px of white space. This makes code less coherent and harder to read. I think maybe a 2:5 ratio would be better for readability than 3:5. I noticed this when I wondered how Code::Blocks code texts' appearance seemed very annoying in comparison to other IDEs such as CodeLite (though has a much inferior options/project-configuration interface organization to Code::Blocks :P) or DevC++ -- which is very outdated and useless, although it does look very nice, classy and well organized (even better than Code::Blocks), but a ton of features are still lacking and it has other major problems -- even when the font settings seem exactly the same.

Also, on my desktop computer, everytime I startup Code::Blocks, it asks me to choose my default compiler regardless of whether I already chose it one-thousand-freaking times before! ... I guess I'll just try reinstalling it and see if that works. Else, I'll come back for another question and we can figure this issue out. :)

Thanks for your consideration,
- Pie Man
I like pie.

oBFusCATed

Version, OS?

What about showing some screenshots?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

pieman

I like pie.

Alpha

Quote from: pieman on November 04, 2012, 07:44:02 PM
Also, on my desktop computer, everytime I startup Code::Blocks, it asks me to choose my default compiler [...]
This should only happen on the first launch.  Does the default.conf file exist?  It should be located at %AppData%\OneOfTheFolders\CodeBlocks\default.conf (I cannot remember if the folder was Local or Roaming).

pieman

Oh, just a heads up.

I was able to manually repair my config file. :D
I like pie.

pieman

Hey, are you people ever going to bother with my suggestion here?
I like pie.

oBFusCATed

Would you bother to try the latest version and show a screen shot if the problem still exists there?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

pieman

If you really aren't sure, then I think it'd be a good idea to add a user option (vertical line spacing).

I will see if I have time tonight to jump back here after making sure C::B is up-to-date with a prepared image/screenshot to show. Cheers
I like pie.

pieman

#8
< Image removed. See below. No point in sustaining it. >

Hoolaa goorbins! Wololololo!

Edit: I forgot to update before taking these pictures. Ooops. Darnit.

They were taken with Code::Blocks 12.11. Sorry. I think I'm going to update now :P
I like pie.

pieman

#9
The comment-style in Code::Blocks is italic; however, I've retested this, and it doesn't affect the vertical spacing in any way (at least for Courier New 8px). The screenshot is completely valid.

-----

I've updated after downloading from here:
http://sourceforge.net/projects/codeblocks/files/Binaries/13.12/Windows/codeblocks-13.12mingw-setup.exe/download

-----

Now I've retested. Hurray! The spacing problem has been fixed. >.<

One reason I probably haven't updated yet, I guess, might be because I haven't even looked at the major version number, only the minor number (I thought it was +0.01)

I'm so embarassed. Sorry for the trouble. Also, I understand that's no reason to not update. :(

-----

No. The reason I haven't updated yet until today was I haven't had any reason to check until I last revisited these forums. 2013 was only release candidates. I guess I should try out the release candidates more often. ::)
I like pie.