Quote:
Originally Posted by Tim_Rocks
Okay, So I figured out how to fix the syntax highlighting if anyone is interested.
So using finder, locate your RC and open up its contents. Then once you get to graalcolors.xml, just open it with any default text editor.
PHP Code:
~/Applications/RC.app/Contents/Resources/language-specs/graalcolors.xml
Then add the following line into graalcolors.xml, just make sure you keep it inside the style-scheme brackets.
PHP Code:
<style name="def:string" foreground="#C000C0" />
Enjoy (Strings was the only thing that bothered me, there's still a couple other fixes that could be done)!
|
Thank you! been so annoyed by this
will rep later (:
Edit: played around with it and added functions aswell.
PHP Code:
<style name="def:function" foreground="#32B3C1" />
however, if you just add that in, you'll have [], !, @, =, ==, etc also colored
so go into graal.lang and change the stylename of these, into whatever you like, i just added a "2" after function like such:
PHP Code:
<pattern-item _name="Operators" style="Function 2">
<regex>[-~^@/%|=+*!?&<>]</regex>
</pattern-item>
<pattern-item _name="Array Operators" style="Function 2">
<regex>(\[|\])</regex>
</pattern-item>