6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
...
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
|
? Kate/kwrite-compatible syntax definition for the cortav markup format
> ln cortav.xml $HOME/.local/share/org.kde.syntax-highlighting/syntax/
! NOTE: the Kate syntax engine cannot capture all the syntactic properties
of Cortav. we do the best we can, but note the following important
discrepancies:
1) the inline resource syntax allows a wide range of complex
brackets pairs such as <!--:[ ]:--!>; the Kate syntax only
accounts for the pair { }
-->
<language name='Cortav' version='1' kateversion='2.4' section='Markup' extensions='*.ct'>
<highlighting>
<list name='extension-directives'>
<item>uses</item>
<item>needs</item>
<item>inhibits</item>
</list>
<list name='meta-directives'>
................................................................................
</context>
<context name='span-del' attribute='Deleted Text' lineEndContext='#pop'>
<IncludeRules context='span'/>
</context>
<context name='span-cue' attribute='Span Cue' lineEndContext='#pop' fallthroughContext="error">
<StringDetect attribute='Span Cue' String='`\' context='#pop!flat-span' />
<StringDetect attribute='Span Cue' String='"' context='#pop!flat-span' />
<DetectChar attribute='Span Cue' char='!' context='#pop!span-emph' />
<DetectChar attribute='Span Cue' char='*' context='#pop!span-strong' />
<DetectChar attribute='Span Cue' char='~' context='#pop!span-del' />
<AnyChar attribute='Span Cue' String='`$+🔒' context='#pop!span' />
|
|
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
...
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
? Kate/kwrite-compatible syntax definition for the cortav markup format
> ln cortav.xml $HOME/.local/share/org.kde.syntax-highlighting/syntax/
! NOTE: the Kate syntax engine cannot capture all the syntactic properties
of Cortav. we do the best we can, but note the following important
discrepancies:
1) the inline resource syntax allows a wide range of complex
brackets pairs such as <!-:[ ]:-!>; the Kate syntax only
accounts for the pair { }
-->
<language name='Cortav'
section='Markup'
extensions='*.ct'
version='1'
kateversion='2.4'>
<highlighting>
<list name='extension-directives'>
<item>uses</item>
<item>needs</item>
<item>inhibits</item>
</list>
<list name='meta-directives'>
................................................................................
</context>
<context name='span-del' attribute='Deleted Text' lineEndContext='#pop'>
<IncludeRules context='span'/>
</context>
<context name='span-cue' attribute='Span Cue' lineEndContext='#pop' fallthroughContext="error">
<StringDetect attribute='Span Cue' String='"' context='#pop!flat-span' />
<DetectChar attribute='Span Cue' char='!' context='#pop!span-emph' />
<DetectChar attribute='Span Cue' char='*' context='#pop!span-strong' />
<DetectChar attribute='Span Cue' char='~' context='#pop!span-del' />
<AnyChar attribute='Span Cue' String='`$+🔒' context='#pop!span' />
|