Unaligned tab spacing
Posted: Sat Apr 17, 2004 8:35 am
I know this is nit-picking, but it gets a little annoying after a while:
Ever notice that if you put comments after code on a line (as opposed to putting comments on their own line above or below), they don't line up exactly with each other, even if a FIXED space character set is used?
That is, if you have this:
The 'Check 'b'' line and the 'Change 'c'' line don't line up because the 'If' keyword gets bolded and therefore makes that line a few pixels longer, causing the tab spacing to misalign. (In the example above, they DO align because the 'If' is not in bold - But trust me, in the PBIDE, they don't align exactly. The longer the bolded keyword, the worse they align...)
Maybe the tab spacing could be based on the width of the bold character, rather than the unbolded one? Nah, that's the klunky solution. Maybe there could be a way to have Syntax Highlighting, but without bolding certain characters?
Unchecking the "Coloring" checkbox in the IDE prefs stopped the bolding problem, but it also turned off the other stuff.
Fred, could you put in a switch to enable\disable bolding?
Thanks!
Russell
Ever notice that if you put comments after code on a line (as opposed to putting comments on their own line above or below), they don't line up exactly with each other, even if a FIXED space character set is used?
That is, if you have this:
Code: Select all
If b = a ; Check 'b'
c = d ; Change 'c'
EndIf
Maybe the tab spacing could be based on the width of the bold character, rather than the unbolded one? Nah, that's the klunky solution. Maybe there could be a way to have Syntax Highlighting, but without bolding certain characters?
Unchecking the "Coloring" checkbox in the IDE prefs stopped the bolding problem, but it also turned off the other stuff.
Fred, could you put in a switch to enable\disable bolding?
Thanks!
Russell