Hi there,
I know this not a big deal for most people, but for me it is. I'm using an inverted color scheme, that is, light text on dark background, and the light blue color used for brace matching is effectively hiding the brace. I've attached a screenshot.
Any chance of adding an option for that in the SQL Tab from the Preferences dialog?
Code wise shouldn't be too difficult, all the supporting code is already there.
Thanks a lot,
Mircea.
Brace matching color customization
Define "inverse color". That's not as easy as it sounds.
On the other hand, you already have a syntax highlighting mechanism in place, why not using it for brace match coloring? That's how every IDE is doing it. And, frankly, that's what it is, a syntax highlighting option. It would be just an extra option in that combobox you have for SQL elements. I've attached a screenshot, just to be clear about my idea.
Instead of determining the color by some weird algorithm, just take it from the syntax highlighting options. Easy-peasy-lemon-squeezy :)
On the other hand, you already have a syntax highlighting mechanism in place, why not using it for brace match coloring? That's how every IDE is doing it. And, frankly, that's what it is, a syntax highlighting option. It would be just an extra option in that combobox you have for SQL elements. I've attached a screenshot, just to be clear about my idea.
Instead of determining the color by some weird algorithm, just take it from the syntax highlighting options. Easy-peasy-lemon-squeezy :)
Also, using a color inversion algorithm might get a result conflicting with the color of the caret. Plus, you also change the color of the opening brace, which IMHO is a bad choice. The way I see it, it would be much better to give the user the possibility to tinker with the background color, without any other alteration :)
Code modification/commit
from ansgarbecker,
8 years ago,
revision 9.3.0.5014
Make brace matching color customizable, via Tools > Preferences > SQL. See http://www.heidisql.com/forum.php?t=19934
Please login to leave a reply, or register at first.