Go Down

Topic: Changing curly bracket color (Read 904 times) previous topic - next topic

TT_Vert

Dec 04, 2016, 12:26 am Last Edit: Dec 04, 2016, 12:34 am by TT_Vert
Hello, I've read here and i've gotten mixed opinion if It is possible to change the curly bracket color.  I've got through each color in the theme.txt file to perfect my color scheme and partially through default.xml but I'm not seeing any default.xml changes doing much of anything.  is there ANY way to change the curly brackets (braces)?

**EDIT**
It appears I can just rename the dark.xml to default.xml and I'm good to go there.


Dave

pert

The bracket color can be changed to any color you like by editing the "fg" value of:
Code: [Select]
<style token="SEPARATOR"
in default.xml.

The only other thing in that file that I've found to do anything is the matchedBracket properties, the rest of the theme settings seem to be all found in theme.txt. The Arduino IDE theme system is really a mess and poorly documented. It's a shame because being able to easily edit the theme is an important factor for accessibility.

TT_Vert

#2
Dec 04, 2016, 01:50 am Last Edit: Dec 04, 2016, 04:39 am by TT_Vert
Thanks.  The problem isn't that I'm getting the wrong color (In this case SEPARATOR is E8E2B7) it is that it isn't even highlighting what is within the brackets, it's just highlighting the brackets themselves.  If you click or double click on a bracket does it highlight all contents for you?  Perhaps it's just a function of an older version.
I just installed 1.6.13 w/ all fresh config and it also does not highlight the content between the brackets.  I'd really like others input if their Arduino IDE does this or not.  I may be chasing my tail here w/ a depreciated function. 

I just saw I can get the old versions still so I'm going to download the version used in the video tutorial I watched and if it works I'll just look at its xml files to figure out what is what.


Dave

pert

The problem isn't that I'm getting the wrong color (In this case SEPARATOR is E8E2B7) it is that it isn't even highlighting what is within the brackets, it's just highlighting the brackets themselves.
You specifically asked about how to change the bracket color in this thread and never mentioned anything about the highlighting issue here in your first post. I answered exactly the question you asked. The highlighting issue is the topic of your other thread, where I've already responded:
http://forum.arduino.cc/index.php?topic=439580
Please confine discussion of the highlighting issue to the other thread as it is off topic here.

TT_Vert

#4
Dec 04, 2016, 06:49 am Last Edit: Dec 04, 2016, 07:04 am by TT_Vert
So after installing 1.5.4 I was able to get this feature working.  On 1.6.13 no dice.  It appears 1.5.x does not use a  a default.xml file rather just a preferences.txt and theme.txt file. Don't see where anything in the theme.txt file would benefit me anywhere but I'll play with it some.  Does anyone know if there is a way to contact the designer to see if they plan to allow this functionality to be switched on/off at some point?

Thanks
Dave

pert

So after installing 1.5.4 I was able to get this feature working.  On 1.6.13 no dice.
Are you still going on about the highlighting thing? How is that in any way related to the topic of this thread: "Changing curly bracket color""? What was the point of you creating a thread specifically for that topic if you're not going to use it? If you had actually read my response to your other thread you'd know that you don't need to all the way back to 1.5.4.

Does anyone know if there is a way to contact the designer to see if they plan to allow this functionality to be switched on/off at some point?
If you look at my response  to your other thread you'll see I posted a link to the issue report on the bug tracker so the "designer" has already been contacted about this. In fact the guy "JulyJim" aka Vaclav has brought up the topic many times both on the bug tracker and here on the forum so there's no point in doing it again.

TT_Vert

#6
Dec 04, 2016, 06:51 pm Last Edit: Dec 04, 2016, 07:08 pm by TT_Vert
My apologies, not sure how I crossed these two up.  Not a good start for me around here.  I had figured out the bracket color after messing around w/ the theme.txt and the xml file and thought I had asked about highlighting the bracket contents but I clearly did not.  I'm sorry for my mistake.  I apparently did not subscribe to that thread and get notified either. 
Thanks for your help

Dave

Go Up