Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@xamarin.com>2017-05-19 09:28:54 +0300
committerMike Krüger <mkrueger@xamarin.com>2017-05-19 09:28:54 +0300
commitff2e5d0b7fb93c841f701ef13bd6f951e83fc7e1 (patch)
treebdcb9c5a6330b758da18d5cc44247d2ed7122ca1 /main/src/addins/TextTemplating
parentd041f54f143fe5c92a4bb3b80c5b77c0366c2829 (diff)
Fixed 'Bug 56625 - T4 editor breaks - no syntax highlighting and
typing issues' The old syntax mode wasn't used. We had T4 textmate highlighting the syntax mode was just bad/not working.
Diffstat (limited to 'main/src/addins/TextTemplating')
-rw-r--r--main/src/addins/TextTemplating/MonoDevelop.TextTemplating/MonoDevelop.TextTemplating.csproj3
-rw-r--r--main/src/addins/TextTemplating/MonoDevelop.TextTemplating/T4SyntaxMode.xml242
2 files changed, 0 insertions, 245 deletions
diff --git a/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/MonoDevelop.TextTemplating.csproj b/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/MonoDevelop.TextTemplating.csproj
index 9678172b04..6b008db13e 100644
--- a/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/MonoDevelop.TextTemplating.csproj
+++ b/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/MonoDevelop.TextTemplating.csproj
@@ -39,9 +39,6 @@
<EmbeddedResource Include="MonoDevelop.TextTemplating.addin.xml">
<LogicalName>MonoDevelop.TextTemplating.addin.xml</LogicalName>
</EmbeddedResource>
- <EmbeddedResource Include="T4SyntaxMode.xml">
- <LogicalName>T4SyntaxMode.xml</LogicalName>
- </EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
diff --git a/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/T4SyntaxMode.xml b/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/T4SyntaxMode.xml
deleted file mode 100644
index 09b6d4cfab..0000000000
--- a/main/src/addins/TextTemplating/MonoDevelop.TextTemplating/T4SyntaxMode.xml
+++ /dev/null
@@ -1,242 +0,0 @@
-<!-- CSharpSyntaxMode.xml
-
- Author:
- Michael Hutchinson <mhutchinson@novell.com>
-
- Copyright (c) 2009 Novell, Inc (http://www.novell.com)
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE. -->
-
-<SyntaxMode name = "T4" mimeTypes="application/t4-template">
- <Span color="String" rule="t4">
- <Begin>
-</Begin>
- <End>qkl6ynrv7y234crtnq238rtxck3</End>
- </Span>
- <Span color = "Razor Code" tagColor="Html Server-Side Script" rule = "directive">
- <Begin>&lt;#@</Begin>
- <End>#&gt;</End>
- </Span>
-
- <Rule name="t4">
- <!-- directives -->
- <Span color = "Razor Code" tagColor="Html Server-Side Script" rule = "directive">
- <Begin>&lt;#@</Begin>
- <End>#&gt;</End>
- </Span>
-
- <!-- expressions -->
- <Span color = "Razor Code" tagColor="Html Server-Side Script" rule = "csharp">
- <Begin>&lt;#=</Begin>
- <End>#&gt;</End>
- </Span>
-
- <Span color = "Razor Code" tagColor="Html Server-Side Script" rule = "csharp">
- <Begin>&lt;#+</Begin>
- <End>#&gt;</End>
- </Span>
-
- <Span color = "Razor Code" tagColor="Html Server-Side Script" rule = "csharp">
- <Begin>&lt;#</Begin>
- <End>#&gt;</End>
- </Span>
- </Rule>
-
- <Rule name = "directive">
- <Span color = "String" rule="InLiteral">
- <Begin>&quot;</Begin>
- <End>&quot;</End>
- </Span>
-
- <Span color = "String" rule="InLiteral">
- <Begin>&apos;</Begin>
- <End>&apos;</End>
- </Span>
-
- <!-- attributes -->
- <Match color = "Keyword(Type)">[A-Za-z0-9_]+(:[A-Za-z0-9_]+)?[\s\n\r]*=</Match>
- </Rule>
-
- <Rule name = "csharp">
- <Span color = "Comment(Line)" rule="Comment" tagColor="Comment(Line)">
- <Begin>/*</Begin>
- <End>*/</End>
- </Span>
-
- <Span color = "String" rule="String" stopateol = "false" escape='""'>
- <Begin>@"</Begin>
- <End>"</End>
- </Span>
-
- <Span color = "String" rule="String" stopateol = "true" escape='\"'>
- <Begin>"</Begin>
- <End>"</End>
- </Span>
-
- <Span color = "String" rule="String" stopateol = "true" escape="\'">
- <Begin>&apos;</Begin>
- <End>&apos;</End>
- </Span>
-
- <Match color = "Number">CSharpNumber</Match>
-
- <Keywords color = "Keyword(Access)">
- <Word>this</Word>
- <Word>base</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Operator)">
- <Word>as</Word>
- <Word>is</Word>
- <Word>new</Word>
- <Word>sizeof</Word>
- <Word>typeof</Word>
- <Word>stackalloc</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Selection)">
- <Word>else</Word>
- <Word>if</Word>
- <Word>switch</Word>
- <Word>case</Word>
- <Word>default</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Iteration)">
- <Word>do</Word>
- <Word>for</Word>
- <Word>foreach</Word>
- <Word>in</Word>
- <Word>while</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Jump)">
- <Word>break</Word>
- <Word>continue</Word>
- <Word>goto</Word>
- <Word>return</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Context)">
- <Word>yield</Word>
- <Word>partial</Word>
- <Word>global</Word>
- <Word>where</Word>
- <Word>__arglist</Word>
- <Word>__makeref</Word>
- <Word>__reftype</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Exception)">
- <Word>try</Word>
- <Word>throw</Word>
- <Word>catch</Word>
- <Word>finally</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Constants)">
- <Word>true</Word>
- <Word>false</Word>
- <Word>null</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Modifiers)">
- <Word>abstract</Word>
- <Word>const</Word>
- <Word>event</Word>
- <Word>extern</Word>
- <Word>override</Word>
- <Word>readonly</Word>
- <Word>sealed</Word>
- <Word>static</Word>
- <Word>virtual</Word>
- <Word>volatile</Word>
-
- <Word>public</Word>
- <Word>protected</Word>
- <Word>private</Word>
- <Word>internal</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Type)">
- <Word>bool</Word>
- <Word>byte</Word>
- <Word>char</Word>
- <Word>decimal</Word>
- <Word>double</Word>
- <Word>enum</Word>
- <Word>float</Word>
- <Word>int</Word>
- <Word>long</Word>
- <Word>sbyte</Word>
- <Word>short</Word>
- <Word>struct</Word>
- <Word>uint</Word>
- <Word>ushort</Word>
- <Word>ulong</Word>
- <Word>object</Word>
- <Word>string</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Void)">
- <Word>void</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Namespace)">
- <Word>namespace</Word>
- <Word>using</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Property)">
- <Word>get</Word>
- <Word>set</Word>
- <Word>add</Word>
- <Word>remove</Word>
- <Word>value</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Declaration)">
- <Word>class</Word>
- <Word>interface</Word>
- <Word>delegate</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Parameter)">
- <Word>params</Word>
- <Word>ref</Word>
- <Word>out</Word>
- </Keywords>
-
-
- <Keywords color = "Keyword(Operator Declaration)">
- <Word>explicit</Word>
- <Word>implicit</Word>
-
- <Word>operator</Word>
- </Keywords>
-
- <Keywords color = "Keyword(Other)">
- <Word>checked</Word>
- <Word>unchecked</Word>
- <Word>fixed</Word>
- <Word>unsafe</Word>
- <Word>lock</Word>
- </Keywords>
- </Rule>
-</SyntaxMode> \ No newline at end of file