Taylor Venable avatar Taylor Venable committed 5129281

Move editor support files to their own directory

Comments (0)

Files changed (4)

editors/gtksourceview.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright (c) 2010 Taylor Venable.  All rights reserved.
+  Released under the terms of the simplified (2 clause) BSD license.
+-->
+<language id="tensile" _name="Tensile" version="2.0" _section="Others">
+  <metadata>
+    <property name="globs">*.tnsl</property>
+  </metadata>
+
+  <styles>
+    <style id="def" _name="Unit Definition" map-to="def:type"/>
+    <style id="ref" _name="Unit Reference" map-to="def:preprocessor"/>
+    <style id="lang" _name="Language Hint" map-to="def:comment"/>
+  </styles>
+
+  <definitions>
+    <context id="doc-latex">
+      <start>@</start>
+      <end>(?=^%% BEGIN ZONE: )|(?=^&lt;&lt;.*?&gt;&gt;=$)</end>
+      <include>
+        <context ref="latex:latex"/>
+      </include>
+    </context>
+
+    <context id="def" style-ref="def">
+      <match>^&lt;&lt;.*?&gt;&gt;=$</match>
+    </context>
+
+    <context id="ref" style-ref="ref">
+      <match>&lt;&lt;.*?&gt;&gt;</match>
+    </context>
+
+    <context id="lang" style-ref="lang">
+      <match>^%% BEGIN ZONE: .*$</match>
+    </context>
+
+    <context id="src-java">
+      <start>(?=^%% BEGIN ZONE: JAVA$)</start>
+      <end>(?=@)</end>
+      <include>
+        <context ref="lang"/>
+        <context ref="doc-latex"/>
+        <context ref="def"/>
+        <context ref="ref"/>
+        <context ref="java:java"/>
+      </include>
+    </context>
+
+    <context id="src-lua">
+      <start>(?=^%% BEGIN ZONE: LUA$)</start>
+      <end>(?=@)</end>
+      <include>
+        <context ref="lang"/>
+        <context ref="doc-latex"/>
+        <context ref="def"/>
+        <context ref="ref"/>
+        <context ref="lua:lua"/>
+      </include>
+    </context>
+
+    <context id="src-tcl">
+      <start>(?=^%% BEGIN ZONE: TCL$)</start>
+      <end>(?=@)</end>
+      <include>
+        <context ref="lang"/>
+        <context ref="doc-latex"/>
+        <context ref="def"/>
+        <context ref="ref"/>
+        <context ref="tcl:tcl"/>
+      </include>
+    </context>
+
+    <context id="tensile">
+      <include>
+        <context ref="def"/>
+        <context ref="doc-latex"/>
+        <context ref="src-java"/>
+        <context ref="src-lua"/>
+        <context ref="src-tcl"/>
+      </include>
+    </context>
+  </definitions>
+</language>
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<language name="Tensile" version="1.0" section="Sources" extensions="*.tnsl" author="Taylor Venable (taylor@metasyntax.net)">
+<!--
+-->
+<highlighting>
+  <contexts>
+    <context name="RawDocumentation" attribute="Prose" lineEndContext="#stay">
+      <RegExpr String="^%% BEGIN ZONE: JAVA$" attribute="Punctuation" context="Java"/>
+      <RegExpr String="^%% BEGIN ZONE: LUA$" attribute="Punctuation" context="Lua"/>
+      <RegExpr String="^%% BEGIN ZONE: TCL$" attribute="Punctuation" context="Tcl"/>
+      <!--<IncludeRules context="##LaTeX" includeAttrib="true"/>-->
+    </context>
+
+    <context name="Java" attribute="Code" lineEndContext="#stay">
+      <RegExpr String="^@$" attribute="Punctuation" context="#pop"/>
+      <IncludeRules context="SectionNames"/>
+      <IncludeRules context="##Java" includeAttrib="true"/>
+    </context>
+
+    <context name="Lua" attribute="Code" lineEndContext="#stay">
+      <RegExpr String="^@$" attribute="Punctuation" context="#pop"/>
+      <IncludeRules context="SectionNames"/>
+      <IncludeRules context="##Lua" includeAttrib="true"/>
+    </context>
+
+    <context name="Tcl" attribute="Code" lineEndContext="#stay">
+      <RegExpr String="^@$" attribute="Punctuation" context="#pop"/>
+      <IncludeRules context="SectionNames"/>
+      <IncludeRules context="##Tcl/Tk" includeAttrib="true"/>
+    </context>
+
+    <context name="SectionNames" attribute="Prose" lineEndContext="#stay">
+      <RegExpr String="&lt;&lt;.*&gt;&gt;=" minimal="true" attribute="SectionName"/>
+      <RegExpr String="&lt;&lt;.*&gt;&gt;" minimal="true" attribute="SectionName"/>
+    </context>
+  </contexts>
+  <itemDatas>
+    <itemData name="Prose"        defStyleNum="dsNormal" />
+    <itemData name="Code"         defStyleNum="dsNormal" />
+    <itemData name="Punctuation"  defStyleNum="dsRegionMarker" bold="true" />
+    <itemData name="SectionName"  defStyleNum="dsRegionMarker" italic="true" />
+  </itemDatas>
+</highlighting>
+</language>
+

gtksourceview.xml

-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Copyright (c) 2010 Taylor Venable.  All rights reserved.
-  Released under the terms of the simplified (2 clause) BSD license.
--->
-<language id="tensile" _name="Tensile" version="2.0" _section="Others">
-  <metadata>
-    <property name="globs">*.tnsl</property>
-  </metadata>
-
-  <styles>
-    <style id="def" _name="Unit Definition" map-to="def:type"/>
-    <style id="ref" _name="Unit Reference" map-to="def:preprocessor"/>
-    <style id="lang" _name="Language Hint" map-to="def:comment"/>
-  </styles>
-
-  <definitions>
-    <context id="doc-latex">
-      <start>@</start>
-      <end>(?=^%% BEGIN ZONE: )|(?=^&lt;&lt;.*?&gt;&gt;=$)</end>
-      <include>
-        <context ref="latex:latex"/>
-      </include>
-    </context>
-
-    <context id="def" style-ref="def">
-      <match>^&lt;&lt;.*?&gt;&gt;=$</match>
-    </context>
-
-    <context id="ref" style-ref="ref">
-      <match>&lt;&lt;.*?&gt;&gt;</match>
-    </context>
-
-    <context id="lang" style-ref="lang">
-      <match>^%% BEGIN ZONE: .*$</match>
-    </context>
-
-    <context id="src-java">
-      <start>(?=^%% BEGIN ZONE: JAVA$)</start>
-      <end>(?=@)</end>
-      <include>
-        <context ref="lang"/>
-        <context ref="doc-latex"/>
-        <context ref="def"/>
-        <context ref="ref"/>
-        <context ref="java:java"/>
-      </include>
-    </context>
-
-    <context id="src-lua">
-      <start>(?=^%% BEGIN ZONE: LUA$)</start>
-      <end>(?=@)</end>
-      <include>
-        <context ref="lang"/>
-        <context ref="doc-latex"/>
-        <context ref="def"/>
-        <context ref="ref"/>
-        <context ref="lua:lua"/>
-      </include>
-    </context>
-
-    <context id="src-tcl">
-      <start>(?=^%% BEGIN ZONE: TCL$)</start>
-      <end>(?=@)</end>
-      <include>
-        <context ref="lang"/>
-        <context ref="doc-latex"/>
-        <context ref="def"/>
-        <context ref="ref"/>
-        <context ref="tcl:tcl"/>
-      </include>
-    </context>
-
-    <context id="tensile">
-      <include>
-        <context ref="def"/>
-        <context ref="doc-latex"/>
-        <context ref="src-java"/>
-        <context ref="src-lua"/>
-        <context ref="src-tcl"/>
-      </include>
-    </context>
-  </definitions>
-</language>

kate.xml

-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE language SYSTEM "language.dtd">
-<language name="Tensile" version="1.0" section="Sources" extensions="*.tnsl" author="Taylor Venable (taylor@metasyntax.net)">
-<!--
--->
-<highlighting>
-  <contexts>
-    <context name="RawDocumentation" attribute="Prose" lineEndContext="#stay">
-      <RegExpr String="^%% BEGIN ZONE: JAVA$" attribute="Punctuation" context="Java"/>
-      <RegExpr String="^%% BEGIN ZONE: LUA$" attribute="Punctuation" context="Lua"/>
-      <RegExpr String="^%% BEGIN ZONE: TCL$" attribute="Punctuation" context="Tcl"/>
-      <!--<IncludeRules context="##LaTeX" includeAttrib="true"/>-->
-    </context>
-
-    <context name="Java" attribute="Code" lineEndContext="#stay">
-      <RegExpr String="^@$" attribute="Punctuation" context="#pop"/>
-      <IncludeRules context="SectionNames"/>
-      <IncludeRules context="##Java" includeAttrib="true"/>
-    </context>
-
-    <context name="Lua" attribute="Code" lineEndContext="#stay">
-      <RegExpr String="^@$" attribute="Punctuation" context="#pop"/>
-      <IncludeRules context="SectionNames"/>
-      <IncludeRules context="##Lua" includeAttrib="true"/>
-    </context>
-
-    <context name="Tcl" attribute="Code" lineEndContext="#stay">
-      <RegExpr String="^@$" attribute="Punctuation" context="#pop"/>
-      <IncludeRules context="SectionNames"/>
-      <IncludeRules context="##Tcl/Tk" includeAttrib="true"/>
-    </context>
-
-    <context name="SectionNames" attribute="Prose" lineEndContext="#stay">
-      <RegExpr String="&lt;&lt;.*&gt;&gt;=" minimal="true" attribute="SectionName"/>
-      <RegExpr String="&lt;&lt;.*&gt;&gt;" minimal="true" attribute="SectionName"/>
-    </context>
-  </contexts>
-  <itemDatas>
-    <itemData name="Prose"        defStyleNum="dsNormal" />
-    <itemData name="Code"         defStyleNum="dsNormal" />
-    <itemData name="Punctuation"  defStyleNum="dsRegionMarker" bold="true" />
-    <itemData name="SectionName"  defStyleNum="dsRegionMarker" italic="true" />
-  </itemDatas>
-</highlighting>
-</language>
-
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.