Skip to content

Commit d363c8f

Browse files
Merian SepulvedaMerian Sepulveda
authored andcommitted
Trim Trailing Space
1 parent 91eb4bc commit d363c8f

9 files changed

Lines changed: 109 additions & 109 deletions

File tree

ICSharpCode.AvalonEdit/Highlighting/Resources/ASPX.xshd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<!-- converted to AvalonEdit format by Siegfried Pammer in 2010 -->
33
<SyntaxDefinition name="ASP/XHTML" extensions=".asp;.aspx;.asax;.asmx;.ascx;.master" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008">
4-
<Color name="ASPSectionStartEndTags" foreground="Black" background="Yellow" exampleText="&lt;% System.Console.WriteLine(&quot;Hello World!&quot;); %&gt;" />
4+
<Color name="ASPSectionStartEndTags" foreground="Black" background="Yellow" exampleText="&lt;% System.Console.WriteLine(&quot;Hello World!&quot;); %&gt;" />
55
<Color name="ASPSection" foreground="Black" background="#FFF7F2E3" exampleText="&lt;% System.Console.WriteLine(&quot;Hello World!&quot;); %&gt;" />
66
<RuleSet ignoreCase="true">
77
<Span ruleSet="ASP" multiline="true">

ICSharpCode.AvalonEdit/Highlighting/Resources/ModeV1.xsd

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,73 +4,73 @@
44
<xsd:documentation>
55
This schema defines the syntax for mode definitions in SharpDevelop.
66
The schema can be simplified quite a bit but it does the job as is.
7-
8-
7+
8+
99
If you are using this file as a reference it is probably easiest to scroll to
1010
the botton to find the definition of the root element called SyntaxDefinition and
1111
then unwind the different type definitions and refernces.
12-
12+
1313
Note on coloring:
1414
Many tags define how some symbol should be colored. If a specific symbol
1515
can not be matched onto either a Span definition, Keyword, or a Digit/Number it
1616
will be rendered in the current default color. Which is the default color of the
1717
current span or the default color of the mode as a whole if no span has been entered.
1818
</xsd:documentation>
1919
</xsd:annotation>
20-
20+
2121
<!-- Defines the default rendering of the mode -->
2222
<xsd:complexType name="EnvironmentEntry">
2323
<xsd:attribute name="bold" type="xsd:boolean" />
2424
<xsd:attribute name="italic" type="xsd:boolean" />
2525
<xsd:attribute name="color" type="xsd:string" />
2626
<xsd:attribute name="bgcolor" type="xsd:string" />
2727
</xsd:complexType>
28-
28+
2929
<xsd:complexType name="CustomEnvironmentEntry">
3030
<xsd:attribute name="name" type="xsd:string" use="required" />
3131
<xsd:attribute name="bold" type="xsd:boolean" />
3232
<xsd:attribute name="italic" type="xsd:boolean" />
3333
<xsd:attribute name="color" type="xsd:string" />
3434
<xsd:attribute name="bgcolor" type="xsd:string" />
3535
</xsd:complexType>
36-
36+
3737
<!-- The environment tag defines the coloring of various attributes in SharpDevelop -->
3838
<xsd:complexType name="Environment">
39-
39+
4040
<xsd:choice minOccurs="0" maxOccurs="unbounded">
4141
<xsd:element name="Default" type="EnvironmentEntry" minOccurs="0" maxOccurs="1" />
4242
<xsd:element name="Selection" type="EnvironmentEntry" minOccurs="0" maxOccurs="1"/>
4343
<xsd:element name="VRuler" type="EnvironmentEntry" minOccurs="0" maxOccurs="1"/>
4444
<xsd:element name="InvalidLines" type="EnvironmentEntry" minOccurs="0" maxOccurs="1"/>
4545
<xsd:element name="CaretMarker" type="EnvironmentEntry" minOccurs="0" maxOccurs="1"/>
4646
<xsd:element name="CaretLine" type="EnvironmentEntry" minOccurs="0" maxOccurs="1"/>
47-
47+
4848
<xsd:element name="LineNumbers" type="EnvironmentEntry" minOccurs="0" maxOccurs="1"/>
49-
49+
5050
<xsd:element name="FoldLine" type="EnvironmentEntry" minOccurs="0" maxOccurs="1"/>
5151
<xsd:element name="FoldMarker" type="EnvironmentEntry" minOccurs="0" maxOccurs="1"/>
5252
<xsd:element name="SelectedFoldLine" type="EnvironmentEntry" minOccurs="0" maxOccurs="1"/>
53-
53+
5454
<xsd:element name="EOLMarkers" type="EnvironmentEntry" minOccurs="0" maxOccurs="1"/>
5555
<xsd:element name="SpaceMarkers" type="EnvironmentEntry" minOccurs="0" maxOccurs="1"/>
5656
<xsd:element name="TabMarkers" type="EnvironmentEntry" minOccurs="0" maxOccurs="1"/>
57-
57+
5858
<xsd:element name="Custom" type="CustomEnvironmentEntry" minOccurs="0" maxOccurs="unbounded"/>
5959
</xsd:choice>
6060
</xsd:complexType>
61-
61+
6262
<xsd:complexType name="Properties">
6363
<xsd:sequence>
6464
<xsd:element name="Property" type="Property" minOccurs="0" maxOccurs="unbounded"/>
6565
</xsd:sequence>
6666
</xsd:complexType>
67-
67+
6868
<xsd:complexType name="Property">
6969
<!-- The actual KeyWord, typically reserved words or symbols in a programming language -->
7070
<xsd:attribute name="name" type="xsd:string" />
7171
<xsd:attribute name="value" type="xsd:string" />
7272
</xsd:complexType>
73-
73+
7474
<!-- The Digits tag defines the color for rendering Digits-->
7575
<xsd:complexType name="Digits">
7676
<xsd:attribute name="name" type="xsd:string" />
@@ -79,7 +79,7 @@
7979
<xsd:attribute name="color" type="xsd:string" />
8080
<xsd:attribute name="bgcolor" type="xsd:string" />
8181
</xsd:complexType>
82-
82+
8383
<!-- Defines the delimiting characters of the syntax, e.g., the characters that, "break up" a line
8484
into separate symbols, typically key words. It is not necessary, or desirable to include the
8585
characters that denot the start or end of a span. Space and Tab are implicitly defined as delimeters
@@ -90,7 +90,7 @@
9090
</xsd:extension>
9191
</xsd:simpleContent>
9292
</xsd:complexType>
93-
93+
9494
<!-- The beginning symbol of a Span -->
9595
<xsd:complexType name="Begin">
9696
<xsd:simpleContent>
@@ -106,7 +106,7 @@
106106
</xsd:extension>
107107
</xsd:simpleContent>
108108
</xsd:complexType>
109-
109+
110110
<!-- The end symbol of a Span -->
111111
<xsd:complexType name="End">
112112
<xsd:simpleContent>
@@ -121,7 +121,7 @@
121121
</xsd:extension>
122122
</xsd:simpleContent>
123123
</xsd:complexType>
124-
124+
125125
<xsd:complexType name="Span">
126126
<xsd:sequence>
127127
<!-- Defines the symbol that indicates the beginning of the span. -->
@@ -137,20 +137,20 @@
137137
<!-- Defines wether the Span should terminate automatically at the end of line. Typical examples
138138
include one-line comments such as // in C++ or REM in Windows .Bat files. -->
139139
<xsd:attribute name="stopateol" type="xsd:boolean" />
140-
140+
141141
<!-- OBSOLUTE: Defines whether C-style escape sequences using \ are applicable or not in the span. -->
142142
<xsd:attribute name="noescapesequences" type="xsd:boolean" />
143-
143+
144144
<!-- defines the escape character -->
145145
<xsd:attribute name="escapecharacter" type="xsd:string" />
146-
146+
147147
<!-- The default rendering style for the span -->
148148
<xsd:attribute name="bold" type="xsd:boolean" />
149149
<xsd:attribute name="italic" type="xsd:boolean" />
150150
<xsd:attribute name="color" type="xsd:string" />
151151
<xsd:attribute name="bgcolor" type="xsd:string" />
152152
</xsd:complexType>
153-
153+
154154
<xsd:complexType name="MarkPrevious">
155155
<xsd:simpleContent>
156156
<xsd:extension base="xsd:string">
@@ -164,7 +164,7 @@
164164
</xsd:extension>
165165
</xsd:simpleContent>
166166
</xsd:complexType>
167-
167+
168168
<!-- Allows you to define the coloring of the symbol that follows a specified symbol -->
169169
<xsd:complexType name="MarkFollowing">
170170
<xsd:simpleContent>
@@ -179,13 +179,13 @@
179179
</xsd:extension>
180180
</xsd:simpleContent>
181181
</xsd:complexType>
182-
182+
183183
<xsd:complexType name="Key">
184184
<!-- The actual KeyWord, typically reserved words or symbols in a programming language -->
185185
<xsd:attribute name="word" type="xsd:string" />
186186
</xsd:complexType>
187-
188-
187+
188+
189189
<!-- A grouping of keywords that sholuld be colored the same way -->
190190
<xsd:complexType name="KeyWords">
191191
<xsd:sequence>
@@ -202,7 +202,7 @@
202202
<xsd:attribute name="color" type="xsd:string" />
203203
<xsd:attribute name="bgcolor" type="xsd:string" />
204204
</xsd:complexType>
205-
205+
206206
<xsd:complexType name="RuleSet">
207207
<xsd:sequence>
208208
<!-- Defines the delimiting characters of the syntax, e.g., the characters that, "break up" a line
@@ -212,7 +212,7 @@
212212
<xsd:element name="Delimiters" type="Delimiters" minOccurs="0" maxOccurs="1">
213213
</xsd:element>
214214
<!-- A Span tag defines a scope, or what can be seen as a separate parsing context where a different set of
215-
highlighting rules are applicable compared to the text where the span is found.
215+
highlighting rules are applicable compared to the text where the span is found.
216216
Examples of spans include:
217217
- A string in a language as C
218218
- A <script> tag in Html
@@ -251,7 +251,7 @@
251251
<!-- defines the escape character -->
252252
<xsd:attribute name="escapecharacter" type="xsd:string" />
253253
</xsd:complexType>
254-
254+
255255
<!-- The RuleSets tag is just a grouping of the set of RuleSets for a mode. -->
256256
<xsd:complexType name="RuleSets">
257257
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
@@ -260,21 +260,21 @@
260260
</xsd:element>
261261
</xsd:sequence>
262262
</xsd:complexType>
263-
263+
264264
<!-- SyntaxDefinition is the root-element in a mode definition file -->
265265
<xsd:element name="SyntaxDefinition">
266266
<xsd:complexType>
267267
<xsd:sequence>
268268
<!-- The Environment tag defines colors, for various standard elements in the SharpDevelop GUI, if
269269
not given the default values are used. -->
270270
<xsd:element name="Environment" type="Environment" minOccurs="0" maxOccurs="1"/>
271-
271+
272272
<!-- The Properties section defines properties which are bound to the highlighting -->
273273
<xsd:element name="Properties" type="Properties" minOccurs="0" maxOccurs="1" />
274-
274+
275275
<!-- The Digits tag defines the color for rendering Digits-->
276276
<xsd:element name="Digits" type="Digits" minOccurs="0" maxOccurs="1"/>
277-
277+
278278
<!-- The RuleSets tag defines the rule sets that are used in the mode. Note that all modes are defined in
279279
a flat structture even if they are used recursively. For an example of a mode that uses
280280
multiple rule sets see the XML-mode. There is a top level rule-set and and another rule-set

ICSharpCode.AvalonEdit/Highlighting/Resources/ModeV2.xsd

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</xsd:simpleType>
2020
</xsd:union>
2121
</xsd:simpleType>
22-
22+
2323
<!-- Font Style -->
2424
<xsd:simpleType name="FontStyle">
2525
<xsd:restriction base="xsd:string">
@@ -28,7 +28,7 @@
2828
<xsd:enumeration value="oblique"/>
2929
</xsd:restriction>
3030
</xsd:simpleType>
31-
31+
3232
<!-- Color -->
3333
<xsd:attributeGroup name="ColorAttributes">
3434
<xsd:attribute name="foreground" type="xsd:string" use="optional" />
@@ -38,37 +38,37 @@
3838
<xsd:attribute name="underline" type="xsd:boolean" use="optional" />
3939
<xsd:anyAttribute namespace="##other" processContents="lax" />
4040
</xsd:attributeGroup>
41-
41+
4242
<xsd:attributeGroup name="ColorReferenceAttributes">
4343
<xsd:attributeGroup ref="ColorAttributes" />
4444
<xsd:attribute name="color" type="xsd:string" use="optional" />
4545
</xsd:attributeGroup>
46-
46+
4747
<xsd:element name="Color">
4848
<xsd:complexType>
4949
<xsd:attribute name="name" type="xsd:string" use="required" />
5050
<xsd:attribute name="exampleText" type="xsd:string" use="optional" />
5151
<xsd:attributeGroup ref="ColorAttributes"/>
5252
</xsd:complexType>
5353
</xsd:element>
54-
54+
5555
<xsd:element name="Property">
5656
<xsd:complexType>
5757
<xsd:attribute name="name" type="xsd:string" use="required" />
5858
<xsd:attribute name="value" type="xsd:string" use="required" />
5959
<xsd:anyAttribute namespace="##other" processContents="lax" />
6060
</xsd:complexType>
6161
</xsd:element>
62-
62+
6363
<!-- Regular expression -->
6464
<xsd:simpleType name="regex">
6565
<xsd:restriction base="xsd:string"/>
6666
</xsd:simpleType>
67-
67+
6868
<xsd:simpleType name="regexIgnorePatternWhitespace">
6969
<xsd:restriction base="xsd:string"/>
7070
</xsd:simpleType>
71-
71+
7272
<!-- Keywords -->
7373
<xsd:element name="Keywords">
7474
<xsd:complexType>
@@ -78,7 +78,7 @@
7878
<xsd:attributeGroup ref="ColorReferenceAttributes"/>
7979
</xsd:complexType>
8080
</xsd:element>
81-
81+
8282
<xsd:element name="Word">
8383
<xsd:complexType>
8484
<xsd:simpleContent>
@@ -88,7 +88,7 @@
8888
</xsd:simpleContent>
8989
</xsd:complexType>
9090
</xsd:element>
91-
91+
9292
<!-- Spans -->
9393
<xsd:element name="Span">
9494
<xsd:complexType>
@@ -97,33 +97,33 @@
9797
<xsd:element ref="End" minOccurs="0" maxOccurs="1"/>
9898
<xsd:element ref="RuleSet" minOccurs="0" maxOccurs="1"/>
9999
</xsd:sequence>
100-
100+
101101
<xsd:attributeGroup ref="ColorReferenceAttributes"/>
102102
<xsd:attribute name="multiline" type="xsd:boolean" use="optional"/>
103103
<xsd:attribute name="ruleSet" type="xsd:string" use="optional"/>
104104
<xsd:attribute name="begin" type="regex" use="optional"/>
105105
<xsd:attribute name="end" type="regex" use="optional"/>
106106
</xsd:complexType>
107107
</xsd:element>
108-
108+
109109
<xsd:complexType name="SpanBeginEnd">
110110
<xsd:simpleContent>
111111
<xsd:extension base="regexIgnorePatternWhitespace">
112112
<xsd:attributeGroup ref="ColorReferenceAttributes"/>
113113
</xsd:extension>
114114
</xsd:simpleContent>
115115
</xsd:complexType>
116-
116+
117117
<xsd:element name="Begin" type="SpanBeginEnd"/>
118118
<xsd:element name="End" type="SpanBeginEnd"/>
119-
119+
120120
<!-- Imports -->
121121
<xsd:element name="Import">
122122
<xsd:complexType>
123123
<xsd:attribute name="ruleSet" type="xsd:string" use="required"/>
124124
</xsd:complexType>
125125
</xsd:element>
126-
126+
127127
<!-- Rules -->
128128
<xsd:element name="Rule">
129129
<xsd:complexType>
@@ -134,7 +134,7 @@
134134
</xsd:simpleContent>
135135
</xsd:complexType>
136136
</xsd:element>
137-
137+
138138
<!-- Rule set -->
139139
<xsd:element name="RuleSet">
140140
<xsd:complexType>
@@ -150,7 +150,7 @@
150150
<xsd:anyAttribute namespace="##other" processContents="lax" />
151151
</xsd:complexType>
152152
</xsd:element>
153-
153+
154154
<!-- Main syntax definition -->
155155
<xsd:element name="SyntaxDefinition">
156156
<xsd:complexType>

0 commit comments

Comments
 (0)