YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

New Topic Post Reply
Highlighting
gaynorg
#1 Posted : Sunday, November 30, 2008 6:09:35 AM(UTC)
Rank: Member

Groups: Registered
Joined: 9/10/2008(UTC)
Posts: 2

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Will someone please fix the really 5hit highlighting and no collapsing in eclipse it has been driving me insane.

Or write something for notepad++ so i can have squirrel files displayed properly

Crappy development experience is making me hate this new language and people liking it. is more important for its growth than anything.
Kamaitati
#2 Posted : Monday, December 1, 2008 12:00:21 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/13/2006(UTC)
Posts: 62

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
In nodepad++ you can use Java or JavaScript highlighting for Squirrel
atai
#3 Posted : Monday, December 1, 2008 11:02:11 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 8/16/2005(UTC)
Posts: 310

Thanks: 18 times
Was thanked: 18 time(s) in 14 post(s)
What does highlighting have to do with the language itself?

You do know that different people write the editors, right?

You really should learn how to highlight languages yourself.
exhu
#4 Posted : Friday, February 13, 2009 12:18:06 AM(UTC)
Rank: Member

Groups: Registered
Joined: 2/13/2009(UTC)
Posts: 5

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
This is my userDefineLang.xml in notepad++ 5.2:

<NotepadPlus>
<UserLang name="squirrel" ext="nut">
<Settings>
<Global caseIgnored="no" />
<TreatAsSymbol comment="yes" commentLine="yes" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">&quot;&apos;0&quot;&apos;0</Keywords>
<Keywords name="Folder+">{&#x000D;&#x000A;</Keywords>
<Keywords name="Folder-">}&#x000D;&#x000A;</Keywords>
<Keywords name="Operators">- ! &quot; % &amp; ( ) , . : ; ? @ [ ] ^ | ~ + &lt; = &gt;</Keywords>
<Keywords name="Comment"> 1/*&#x000D;&#x000A; 2*/&#x000D;&#x000A; 0//</Keywords>
<Keywords name="Words1">break&#x000D;&#x000A;const&#x000D;&#x000A;extends&#x000D;&#x000A;null&#x000D;&#x000A;try&#x000D;&#x000A;vargc&#x000D;&#x000A;case&#x000D;&#x000A;default&#x000D;&#x000A;for&#x000D;&#x000A;resume&#x000D;&#x000A;typeof&#x000D;&#x000A;vargv&#x000D;&#x000A;catch&#x000D;&#x000A;delegate&#x000D;&#x000A;function&#x000D;&#x000A;return&#x000D;&#x000A;while&#x000D;&#x000A;instanceof&#x000D;&#x000A;class&#x000D;&#x000A;delete&#x000D;&#x000A;if&#x000D;&#x000A;switch&#x000D;&#x000A;parent&#x000D;&#x000A;true&#x000D;&#x000A;clone&#x000D;&#x000A;else&#x000D;&#x000A;in&#x000D;&#x000A;this&#x000D;&#x000A;yield&#x000D;&#x000A;false&#x000D;&#x000A;continue&#x000D;&#x000A;enum&#x000D;&#x000A;local&#x000D;&#x000A;throw&#x000D;&#x000A;constructor&#x000D;&#x000A;static&#x000D;&#x000A;foreach</Keywords>
<Keywords name="Words2"></Keywords>
<Keywords name="Words3"></Keywords>
<Keywords name="Words4"></Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="8" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Courier New" fontStyle="2" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Courier New" fontStyle="2" />
<WordsStyle name="NUMBER" styleID="4" fgColor="0080C0" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="0080FF" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="0080C0" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
</NotepadPlus>
exhu
#5 Posted : Friday, February 13, 2009 12:20:30 AM(UTC)
Rank: Member

Groups: Registered
Joined: 2/13/2009(UTC)
Posts: 5

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
can't paste xml here it gets screwed up. Please specify where to send/upload my xml highlighting file here.
exhu
#6 Posted : Friday, February 13, 2009 2:00:25 AM(UTC)
Rank: Member

Groups: Registered
Joined: 2/13/2009(UTC)
Posts: 5

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Another try (put this into userDefineLang.xml in your "C:\Documents and Settings\USER_NAME\Application Data\Notepad++\"):

&lt;NotepadPlus&gt;
&lt;UserLang name=&quot;squirrel&quot; ext=&quot;nut&quot;&gt;
&lt;Settings&gt;
&lt;Global caseIgnored=&quot;no&quot; /&gt;
&lt;TreatAsSymbol comment=&quot;yes&quot; commentLine=&quot;yes&quot; /&gt;
&lt;Prefix words1=&quot;no&quot; words2=&quot;no&quot; words3=&quot;no&quot; words4=&quot;no&quot; /&gt;
&lt;/Settings&gt;
&lt;KeywordLists&gt;
&lt;Keywords name=&quot;Delimiters&quot;&gt;&amp;quot;&amp;apos;0&amp;quot;&amp;apos;0&lt;/Keywords&gt;
&lt;Keywords name=&quot;Folder+&quot;&gt;{ &lt;/Keywords&gt;
&lt;Keywords name=&quot;Folder-&quot;&gt;} &lt;/Keywords&gt;
&lt;Keywords name=&quot;Operators&quot;&gt;- ! &amp;quot; % &amp;amp; ( ) , . : ; ? @ [ ] ^ | ~ + &amp;lt; = &amp;gt;&lt;/Keywords&gt;
&lt;Keywords name=&quot;Comment&quot;&gt; 1/* 2*/ 0//&lt;/Keywords&gt;
&lt;Keywords name=&quot;Words1&quot;&gt;break const extends null try vargc case default for resume typeof vargv catch delegate function return while instanceof class delete if switch parent true clone else in this yield false continue enum local throw constructor static foreach&lt;/Keywords&gt;
&lt;Keywords name=&quot;Words2&quot;&gt;&lt;/Keywords&gt;
&lt;Keywords name=&quot;Words3&quot;&gt;&lt;/Keywords&gt;
&lt;Keywords name=&quot;Words4&quot;&gt;&lt;/Keywords&gt;
&lt;/KeywordLists&gt;
&lt;Styles&gt;
&lt;WordsStyle name=&quot;DEFAULT&quot; styleID=&quot;11&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;Courier New&quot; fontStyle=&quot;0&quot; /&gt;
&lt;WordsStyle name=&quot;FOLDEROPEN&quot; styleID=&quot;12&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;Courier New&quot; fontStyle=&quot;1&quot; fontSize=&quot;8&quot; /&gt;
&lt;WordsStyle name=&quot;FOLDERCLOSE&quot; styleID=&quot;13&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;Courier New&quot; fontStyle=&quot;1&quot; /&gt;
&lt;WordsStyle name=&quot;KEYWORD1&quot; styleID=&quot;5&quot; fgColor=&quot;0000FF&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;Courier New&quot; fontStyle=&quot;1&quot; /&gt;
&lt;WordsStyle name=&quot;KEYWORD2&quot; styleID=&quot;6&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
&lt;WordsStyle name=&quot;KEYWORD3&quot; styleID=&quot;7&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
&lt;WordsStyle name=&quot;KEYWORD4&quot; styleID=&quot;8&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
&lt;WordsStyle name=&quot;COMMENT&quot; styleID=&quot;1&quot; fgColor=&quot;008000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;Courier New&quot; fontStyle=&quot;2&quot; /&gt;
&lt;WordsStyle name=&quot;COMMENT LINE&quot; styleID=&quot;2&quot; fgColor=&quot;008000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;Courier New&quot; fontStyle=&quot;2&quot; /&gt;
&lt;WordsStyle name=&quot;NUMBER&quot; styleID=&quot;4&quot; fgColor=&quot;0080C0&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;Courier New&quot; fontStyle=&quot;0&quot; /&gt;
&lt;WordsStyle name=&quot;OPERATOR&quot; styleID=&quot;10&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;Courier New&quot; fontStyle=&quot;1&quot; /&gt;
&lt;WordsStyle name=&quot;DELIMINER1&quot; styleID=&quot;14&quot; fgColor=&quot;0080FF&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;Courier New&quot; fontStyle=&quot;0&quot; /&gt;
&lt;WordsStyle name=&quot;DELIMINER2&quot; styleID=&quot;15&quot; fgColor=&quot;0080C0&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;Courier New&quot; fontStyle=&quot;0&quot; /&gt;
&lt;WordsStyle name=&quot;DELIMINER3&quot; styleID=&quot;16&quot; fgColor=&quot;000000&quot; bgColor=&quot;FFFFFF&quot; fontName=&quot;&quot; fontStyle=&quot;0&quot; /&gt;
&lt;/Styles&gt;
&lt;/UserLang&gt;
&lt;/NotepadPlus&gt;
Exponent
#7 Posted : Sunday, June 7, 2009 4:07:20 PM(UTC)
Rank: Member

Groups: Registered
Joined: 9/14/2005(UTC)
Posts: 23

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Sorry to bump this old thread, but I've uploaded my version of the squirrel language defs here:
http://pastebin.com/f599acf1e
JasonP
#8 Posted : Monday, September 28, 2009 2:17:46 PM(UTC)
Rank: Member

Groups: Registered
Joined: 5/21/2006(UTC)
Posts: 25
Man
Location: Euclid, OH, USA

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I use SciTE, so I finally wrote a .properties file for squirrel highlighting. It could probably be nicer, but it handles all the documented keywords readily enough and otherwise falls back on the cpp lexer. Here is a link to the file: <a href="http://hopfrogproject.com/share/sqc.properties">sqc.properties</a>
Juppi
#9 Posted : Tuesday, October 6, 2009 11:39:11 PM(UTC)
Rank: Member

Groups: Registered
Joined: 4/1/2009(UTC)
Posts: 1

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Related to SQDev, is there ANY way to change the syntax highlighting colours? I've been trying to change the colouring for squirrel keywords, string colours etc. but havent found the right option from eclipse preferences yet. Is changing these settings even possible or am i just failing to see an obvious switch somewhere?
zac352
#10 Posted : Tuesday, December 14, 2010 2:15:16 PM(UTC)
Rank: Member

Groups: Registered
Joined: 11/18/2010(UTC)
Posts: 10

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Does anyone have a gedit highlighter? There used to be a broken link on the wiki...
Guest
#11 Posted : Wednesday, April 6, 2011 5:02:14 PM(UTC)
Rank: Guest

Groups:
Joined: 7/25/2010(UTC)
Posts: 23

Thanks: 0 times
Was thanked: 1 time(s) in 1 post(s)
i need another syntax definition file but for gedit
henry4k
#12 Posted : Thursday, April 7, 2011 4:19:59 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/1/2011(UTC)
Posts: 9
Location: Germany

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
Hm dunno if this fits here, but some time ago I made a brush for that JavaScript-SyntaxHighlighter written by Alex Gorbatchev.

It should support the latest squirrel version.
Maybe it is useful for someone.
http://henry4k.de/shBrushSquirrel.js

Example:
http://www.henry4k.de/cg...rum/topic_show.pl?tid=16
Quick Reply Show Quick Reply
Users browsing this topic
Guest (2)
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.

Clean Slate theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.240 seconds.