View Single Post
  #37  
Old 12-30-2012, 05:21 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
Quote:
Originally Posted by Tim_Rocks View Post
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>[-~^@/%|=+*!?&amp;&lt;&gt;]</regex>
</
pattern-item>

<
pattern-item _name="Array Operators" style="Function 2">
    <
regex>(\[|\])</regex>
</
pattern-item
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you

Last edited by Deas_Voice; 12-30-2012 at 06:53 PM..
Reply With Quote