[pure-lang-svn] SF.net SVN: pure-lang: [333] pure/trunk/etc/pure.xml
Status: Beta
Brought to you by:
agraef
From: <ag...@us...> - 2008-06-29 01:44:43
|
Revision: 333 http://pure-lang.svn.sourceforge.net/pure-lang/?rev=333&view=rev Author: agraef Date: 2008-06-28 18:44:52 -0700 (Sat, 28 Jun 2008) Log Message: ----------- Add folding support. Modified Paths: -------------- pure/trunk/etc/pure.xml Modified: pure/trunk/etc/pure.xml =================================================================== --- pure/trunk/etc/pure.xml 2008-06-28 22:20:35 UTC (rev 332) +++ pure/trunk/etc/pure.xml 2008-06-29 01:44:52 UTC (rev 333) @@ -1,12 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Pure" version="1.01" kateversion="2.1" section="Sources" extensions="*.pure"> +<language name="Pure" version="1.2" kateversion="2.4" section="Sources" extensions="*.pure"> <highlighting> + <list name="blockstarters"> + <item> case </item> + <item> when </item> + <item> with </item> + </list> + <list name="blockenders"> + <item> end </item> + </list> <list name="keywords"> - <item> case </item> <item> def </item> <item> else </item> - <item> end </item> <item> extern </item> <item> if </item> <item> infix </item> @@ -20,8 +26,6 @@ <item> postfix </item> <item> then </item> <item> using </item> - <item> when </item> - <item> with </item> </list> <list name="special"> <item> catch </item> @@ -42,6 +46,9 @@ </list> <contexts> <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <DetectSpaces /> + <keyword attribute="Keyword" context="#stay" String="blockstarters" beginRegion="Block" /> + <keyword attribute="Keyword" context="#stay" String="blockenders" endRegion="Block" /> <keyword attribute="Keyword" context="#stay" String="keywords"/> <keyword attribute="Function" context="#stay" String="special"/> <keyword attribute="Type" context="#stay" String="types"/> @@ -51,7 +58,7 @@ <Int attribute="Number" context="#stay"/> <HlCChar attribute="Char" context="#stay"/> <DetectChar attribute="String" context="String" char="""/> - <Detect2Chars attribute="Comment" context="Comment1" char="/" char1="*" /> + <Detect2Chars attribute="Comment" context="Comment1" char="/" char1="*" beginRegion="Comment" /> <Detect2Chars attribute="Comment" context="Comment2" char="/" char1="/"/> </context> <context attribute="String" lineEndContext="#pop" name="String"> @@ -59,8 +66,10 @@ <HlCStringChar attribute="String Char" context="#stay"/> <DetectChar attribute="String" context="#pop" char="""/> </context> + <context attribute="Region Marker" lineEndContext="#pop" name="Region Marker"> + </context> <context attribute="Comment" lineEndContext="#stay" name="Comment1"> - <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> </context> <context attribute="Comment" lineEndContext="#pop" name="Comment2"/> </contexts> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |