Page 1 of 1
Brackets Background Color
Posted: Fri Feb 18, 2011 4:28 pm
by nco2k
brackets use the default background color instead of the current line color, which is kinda disturbing.
c ya,
nco2k
Re: Brackets Background Color
Posted: Sat Feb 19, 2011 1:17 pm
by IdeasVacuum
It's a Preferences setting (File/Preferences/Editor/Coloring). Operators can have their own colour setting.
Re: Brackets Background Color
Posted: Sat Feb 19, 2011 1:23 pm
by nco2k
@IdeasVacuum
nco2k wrote:brackets use the default background color instead of the current line color
c ya,
nco2k
Re: Brackets Background Color
Posted: Sat Feb 19, 2011 1:26 pm
by IdeasVacuum
...yes, but you can change it
However, watchout - it might crash the IDE:
http://www.purebasic.fr/english/viewtop ... 40#p347140
Re: Brackets Background Color
Posted: Sat Feb 19, 2011 1:39 pm
by Trond
IdeasVacuum wrote:...yes, but you can change it
Not the background color.
Re: Brackets Background Color
Posted: Sat Feb 19, 2011 1:39 pm
by nco2k
and even if you could, the problem would remain the same.
c ya,
nco2k
Re: Brackets Background Color
Posted: Sat Feb 19, 2011 4:24 pm
by Vera
nco2k wrote:brackets use the default background color instead of the current line color
yes - but it's only in case they're empty and the cursor is right behind it, so it's a kind of warning sign of potential missing parameters.
The moment there's an empty space behind them or when they include contents the whole expression including the brackets obtain the current line backgroundcolor.
So maybe get used to add an empty space behind them to avoid the 'warning highlight' or respectively the disturbance.
greetings ~ Vera
Re: Brackets Background Color
Posted: Sat Feb 19, 2011 5:17 pm
by nco2k
even if they are not empty, as soon as you move the cursor to the brackets and the highlighting kicks in, the default background color will be used. depending on your color scheme its more or less noticeable. i should have mentioned that in the first post, but i thought the pic was obvious enough.
its really funny though how people try to justify a tiny yet obvious cosmetic glitch. and i definitely wont change my coding habits.
c ya,
nco2k