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