| 1 |
<?xml version = '1.0' encoding = 'UTF-8'?> |
| 2 |
<!DOCTYPE language [ |
| 3 |
|
| 4 |
<!ENTITY start "(^|(?<=\s))"> |
| 5 |
<!ENTITY citation "&start;\?\?(?=[^\s][^?]+\?\?([\s.,;:-]|$))"> |
| 6 |
<!ENTITY deleted "&start;\-(?=[^\s][^\-]+\-([\s.,;:?]|$))"> |
| 7 |
<!ENTITY emphasis "&start;_(?=[^\s][^_]+_([\s.,;:-]|\?|$))"> |
| 8 |
<!ENTITY inserted "&start;\+(?=[^\s][^\+]+\+([\s.,;:-]|\?|$))"> |
| 9 |
<!ENTITY monospaced "&start;\{\{(?=[^\s][^}]+\}\}([\s.,;:-]|$))"> |
| 10 |
<!ENTITY strong "&start;\*(?=[^\s][^\*]+\*([\s.,;:-]|\?|$))"> |
| 11 |
<!ENTITY subscript "&start;~(?=[^\s][^~]+~([\s.,;:-]|\?|$))"> |
| 12 |
<!ENTITY superscript "&start;\^(?=[^\s][^\^]+\^([\s.,;:-]|\?|$))"> |
| 13 |
|
| 14 |
<!ENTITY attachment "&start;\[\^(?=[^]\s][^]]+\])"> |
| 15 |
<!ENTITY bracketAnchor "&start;\[#(?=[^]\s][^]]+\])"> |
| 16 |
<!ENTITY taggedLink "&start;\[(?=[^]\s|][^]|]+(\|[^]\s|][^]|]+)?\])"> |
| 17 |
<!ENTITY userTag "&start;\[~(?=[^]\s][^]]+\])"> |
| 18 |
|
| 19 |
<!ENTITY embeddedItem "&start;!(?=[^!\s][^!]+!)"> |
| 20 |
|
| 21 |
<!ENTITY panel "&start;\{panel(?=[^\}]*\})"> |
| 22 |
|
| 23 |
<!ENTITY code "&start;\{code(?=[^\}]*\})"> |
| 24 |
|
| 25 |
<!ENTITY url "(http:|https:|ftp:|mailto:)[^]|) ]*(?=$|[]|\s|\)])"> |
| 26 |
]> |
| 27 |
<language name="Jira" section="Markup" version="13" kateversion="5.79" extensions="*.jira" mimetype="" license="FDL" > |
| 28 |
<highlighting> |
| 29 |
|
| 30 |
<!-- |
| 31 |
Documentation about the Jira syntax: https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all |
| 32 |
--> |
| 33 |
|
| 34 |
<contexts> |
| 35 |
|
| 36 |
<!-- Main Context --> |
| 37 |
<context name="Start" attribute="Normal" lineEndContext="#stay"> |
| 38 |
<DetectSpaces /> |
| 39 |
<IncludeRules context="FindHeader" /> |
| 40 |
<IncludeRules context="FindBlockQuote" /> |
| 41 |
<IncludeRules context="FindText" /> |
| 42 |
<IncludeRules context="FindListItem" /> |
| 43 |
<IncludeRules context="FindIcons" /> |
| 44 |
<IncludeRules context="FindTables" /> |
| 45 |
<IncludeRules context="FindColor" /> |
| 46 |
<IncludeRules context="FindQuote" /> |
| 47 |
<IncludeRules context="FindNoFormat" /> |
| 48 |
<IncludeRules context="FindPanels" /> |
| 49 |
<IncludeRules context="FindCode" /> |
| 50 |
<IncludeRules context="FindTextBreaks" /> |
| 51 |
<IncludeRules context="FindEmbeddedItems" /> |
| 52 |
<IncludeRules context="FindLinks" /> |
| 53 |
<IncludeRules context="FindEscapeSequences" /> |
| 54 |
<IncludeRules context="FindLineBreaks" /> |
| 55 |
</context> |
| 56 |
|
| 57 |
|
| 58 |
<!-- Contexts --> |
| 59 |
|
| 60 |
<!-- Headings --> |
| 61 |
<context name="Header" attribute="Header" lineEndContext="#pop" /> |
| 62 |
|
| 63 |
|
| 64 |
<!-- Images / Attachments --> |
| 65 |
<context name="EmbeddedItemContent" attribute="Link" lineEndContext="#stay" fallthroughContext="EmbeddedItemLink"> |
| 66 |
<!-- !spaceKey:pageTitle^attachment.mov! --> |
| 67 |
<RegExpr String="[^:!|]+(?=:[^!|]*\^)" attribute="Label" context="EmbeddedItemPageTitle" /> |
| 68 |
</context> |
| 69 |
<context name="EmbeddedItemLink" attribute="Link" lineEndContext="#stay"> |
| 70 |
<DetectChar char="|" attribute="Special Character" context="EmbeddedItemAttributes" /> |
| 71 |
<DetectChar char="!" attribute="Special Character" context="#pop#pop" /> |
| 72 |
</context> |
| 73 |
<context name="EmbeddedItemPageTitle" attribute="Label" lineEndContext="#stay"> |
| 74 |
<DetectChar char=":" attribute="Special Character" context="#stay" /> |
| 75 |
<DetectChar char="^" attribute="Special Character" context="#pop!EmbeddedItemLink" /> |
| 76 |
</context> |
| 77 |
<context name="EmbeddedItemAttributes" attribute="Normal" lineEndContext="#stay"> |
| 78 |
<DetectChar char="!" attribute="Special Character" context="#pop#pop#pop" /> |
| 79 |
<DetectChar char="=" attribute="Normal" context="EmbeddedItemAttributeValue" /> |
| 80 |
<DetectIdentifier attribute="AttributeKeyword" context="#stay" /> |
| 81 |
</context> |
| 82 |
<context name="EmbeddedItemAttributeValue" attribute="AttributeValue" lineEndContext="#stay"> |
| 83 |
<DetectChar char="," attribute="Normal" context="#pop" /> |
| 84 |
<DetectChar char="!" attribute="Special Character" context="#pop#pop#pop#pop" /> |
| 85 |
<DetectIdentifier attribute="AttributeValue" context="#stay" /> |
| 86 |
</context> |
| 87 |
|
| 88 |
<context name="PanelStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 89 |
<DetectChar char=":" attribute="Special Character" context="PanelAttributes" /> |
| 90 |
<DetectChar char="}" attribute="Special Character" context="PanelContent" /> |
| 91 |
</context> |
| 92 |
<context name="PanelContent" attribute="Normal" lineEndContext="#stay"> |
| 93 |
<DetectSpaces /> |
| 94 |
<StringDetect String="{panel}" attribute="Special Character" context="#pop#pop" /> |
| 95 |
<IncludeRules context="FindBlockQuote" /> |
| 96 |
<IncludeRules context="FindText" /> |
| 97 |
<IncludeRules context="FindListItem" /> |
| 98 |
<IncludeRules context="FindIcons" /> |
| 99 |
<IncludeRules context="FindTables" /> |
| 100 |
<IncludeRules context="FindColor" /> |
| 101 |
<IncludeRules context="FindQuote" /> |
| 102 |
<IncludeRules context="FindNoFormat" /> |
| 103 |
<IncludeRules context="FindCode" /> |
| 104 |
<IncludeRules context="FindTextBreaks" /> |
| 105 |
<IncludeRules context="FindEmbeddedItems" /> |
| 106 |
<IncludeRules context="FindLinks" /> |
| 107 |
<IncludeRules context="FindEscapeSequences" /> |
| 108 |
<IncludeRules context="FindLineBreaks" /> |
| 109 |
</context> |
| 110 |
<context name="PanelAttributes" attribute="Normal" lineEndContext="#stay"> |
| 111 |
<DetectChar char="}" attribute="Special Character" context="#pop!PanelContent" /> |
| 112 |
<DetectChar char="=" attribute="Normal" context="PanelAttributeValue" /> |
| 113 |
<DetectIdentifier attribute="AttributeKeyword" context="#stay" /> |
| 114 |
</context> |
| 115 |
<context name="PanelAttributeValue" attribute="AttributeValue" lineEndContext="#stay"> |
| 116 |
<DetectChar char="|" attribute="Special Character" context="#pop" /> |
| 117 |
<DetectChar char="}" attribute="Special Character" context="#pop#pop!PanelContent" /> |
| 118 |
</context> |
| 119 |
|
| 120 |
|
| 121 |
<!-- See https://confluence.atlassian.com/display/DOC/Code+Block+Macro for keywords --> |
| 122 |
<context name="CodeContext" lineEndContext="#stay" attribute="Normal" fallthroughContext="JavaCodeStartTagContent"> |
| 123 |
<!-- TODO see note --> |
| 124 |
<!-- Note: Commented out lines are for languages that Jira supports but KTextEditor does not yet. --> |
| 125 |
<!-- <RegExpr String=":(?= *actionscript3 *[|}])" attribute="Special Character" context="JavaCodeStartTagContent" /> --> |
| 126 |
<RegExpr String=":(?= *(ada|title=[- \w]+\.(adb|ads|ada|a)) *[|}])" attribute="Special Character" context="AdaCodeStartTagContent" /> |
| 127 |
<!-- <RegExpr String=":(?= *AppleScript *[|}])" attribute="Special Character" context="AppleScriptCodeStartTagContent" /> --> |
| 128 |
<RegExpr String=":(?= *(bash|title=[- \w]*\.(sh|bash)) *[|}])" attribute="Special Character" context="BashCodeStartTagContent" /> |
| 129 |
<RegExpr String=":(?= *(csharp|title=[- \w]*\.(cs|ashx)) *[|}])" attribute="Special Character" context="CSharpCodeStartTagContent" /> |
| 130 |
<RegExpr String=":(?= *(coldfusion|title=[- \w]*\.(cfm|cfc|cfml|dbm)) *[|}])" attribute="Special Character" context="ColdFusionCodeStartTagContent" /> |
| 131 |
<RegExpr String=":(?= *(c(pp)?|title=[- \w]*\.([cChH]|cpp|hpp|cxx|c\+\+|cc|cu|hh)) *[|}])" attribute="Special Character" context="CppCodeStartTagContent" /> |
| 132 |
<RegExpr String=":(?= *(css|title=[- \w]*\.css) *[|}])" attribute="Special Character" context="CssCodeStartTagContent" /> |
| 133 |
<RegExpr String=":(?= *(delphi|title=[- \w]*\.(p|pas|pp)) *[|}])" attribute="Special Character" context="PascalCodeStartTagContent" /> |
| 134 |
<RegExpr String=":(?= *(diff|title=[- \w]*\.(diff|patch)) *[|}])" attribute="Special Character" context="DiffCodeStartTagContent" /> |
| 135 |
<RegExpr String=":(?= *(erlang|title=[- \w]*\.erl) *[|}])" attribute="Special Character" context="ErlangCodeStartTagContent" /> |
| 136 |
<RegExpr String=":(?= *(groovy|title=([- \w]*\.(groovy|gradle|gvy)|Jenkinsfile)) *[|}])" attribute="Special Character" context="GroovyCodeStartTagContent" /> |
| 137 |
<RegExpr String=":(?= *(haskell|title=[- \w]*\.c?hs) *[|}])" attribute="Special Character" context="HaskellCodeStartTagContent" /> |
| 138 |
<RegExpr String=":(?= *(html|title=[- \w]*\.(s?html?|aspx)) *[|}])" attribute="Special Character" context="HtmlCodeStartTagContent" /> |
| 139 |
<RegExpr String=":(?= *(java|title=[- \w]*\.java) *[|}])" attribute="Special Character" context="JavaCodeStartTagContent" /> |
| 140 |
<!-- <RegExpr String=":(?= *javafx *[|}])" attribute="Special Character" context="JavaCodeStartTagContent" /> --> |
| 141 |
<RegExpr String=":(?= *(javascript|title=[- \w]*\.([cm]?js)) *[|}])" attribute="Special Character" context="JavaScriptCodeStartTagContent" /> |
| 142 |
<RegExpr String=":(?= *(json|title=[- \w]*\.json) *[|}])" attribute="Special Character" context="JsonCodeStartTagContent" /> |
| 143 |
<RegExpr String=":(?= *(lua|title=[- \w]*\.(lua|rockspec)) *[|}])" attribute="Special Character" context="LuaCodeStartTagContent" /> |
| 144 |
<RegExpr String=":(?= *none *[|}])" attribute="Special Character" context="NoneCodeStartTagContent" /> |
| 145 |
<!-- <RegExpr String=":(?= *nyan *[|}])" attribute="Special Character" context="NyanCodeStartTagContent" /> --> |
| 146 |
<RegExpr String=":(?= *(perl|title=[- \w]*\.(pl|PL|pm)) *[|}])" attribute="Special Character" context="PerlCodeStartTagContent" /> |
| 147 |
<RegExpr String=":(?= *(php|title=[- \w]*\.php) *[|}])" attribute="Special Character" context="PhpCodeStartTagContent" /> |
| 148 |
<RegExpr String=":(?= *(powershell|title=[- \w]*\.(ps1|psm1|psd1)) *[|}])" attribute="Special Character" context="PowerShellCodeStartTagContent" /> |
| 149 |
<RegExpr String=":(?= *(python|title=[- \w]*\.py) *[|}])" attribute="Special Character" context="PythonCodeStartTagContent" /> |
| 150 |
<RegExpr String=":(?= *(ruby|title=([- \w]*\.(rb|erb|rake|gemspec)|Rakefile|Gemfile|Vagrantfile)) *[|}])" attribute="Special Character" context="RubyCodeStartTagContent" /> |
| 151 |
<RegExpr String=":(?= *(scala|title=[- \w]*\.(scala|sbt)) *[|}])" attribute="Special Character" context="ScalaCodeStartTagContent" /> |
| 152 |
<RegExpr String=":(?= *(sql|title=[- \w]*\.sql) *[|}])" attribute="Special Character" context="SqlCodeStartTagContent" /> |
| 153 |
<RegExpr String=":(?= *(swift|title=[- \w]*\.swift) *[|}])" attribute="Special Character" context="SwiftCodeStartTagContent" /> |
| 154 |
<!-- <RegExpr String=":(?= *vb *[|}])" attribute="Special Character" context="VisualBasicCodeStartTagContent" /> --> |
| 155 |
<RegExpr String=":(?= *(xml|title=[- \w]*\.(xml|xslt?)) *[|}])" attribute="Special Character" context="XmlCodeStartTagContent" /> |
| 156 |
<RegExpr String=":(?= *(yaml|title=[- \w]*\.ya?ml) *[|}])" attribute="Special Character" context="YamlCodeStartTagContent" /> |
| 157 |
</context> |
| 158 |
|
| 159 |
<context name="FindCodeAttributes" attribute="Normal" lineEndContext="#stay"> |
| 160 |
<DetectChar char="|" attribute="Special Character" context="#stay" /> |
| 161 |
<DetectChar char="=" attribute="Normal" context="CodeAttributeValue" /> |
| 162 |
<DetectIdentifier attribute="AttributeKeyword" context="#stay" /> |
| 163 |
</context> |
| 164 |
<context name="CodeAttributeValue" attribute="AttributeValue" lineEndContext="#stay"> |
| 165 |
<AnyChar String="|}" context="#pop" lookAhead="true" /> |
| 166 |
</context> |
| 167 |
|
| 168 |
<context name="FindEndCode" attribute="Normal" lineEndContext="#stay"> |
| 169 |
<StringDetect String="{code}" attribute="Special Character" context="#pop#pop#pop" /> |
| 170 |
</context> |
| 171 |
|
| 172 |
<context name="AdaCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 173 |
<DetectChar char="}" attribute="Special Character" context="AdaCodeContent" /> |
| 174 |
<IncludeRules context="FindCodeAttributes" /> |
| 175 |
</context> |
| 176 |
<context name="AdaCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 177 |
<IncludeRules context="FindEndCode" /> |
| 178 |
<IncludeRules context="##Ada" /> |
| 179 |
</context> |
| 180 |
|
| 181 |
<context name="BashCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 182 |
<DetectChar char="}" attribute="Special Character" context="BashCodeContent" /> |
| 183 |
<IncludeRules context="FindCodeAttributes" /> |
| 184 |
</context> |
| 185 |
<context name="BashCodeContent" attribute="Normal" lineEndContext="#stay" fallthroughContext="Command##Bash"> |
| 186 |
<IncludeRules context="FindEndCode" /> |
| 187 |
<IncludeRules context="##Bash" /> |
| 188 |
</context> |
| 189 |
|
| 190 |
<context name="CSharpCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 191 |
<DetectChar char="}" attribute="Special Character" context="CSharpCodeContent" /> |
| 192 |
<IncludeRules context="FindCodeAttributes" /> |
| 193 |
</context> |
| 194 |
<context name="CSharpCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 195 |
<IncludeRules context="FindEndCode" /> |
| 196 |
<IncludeRules context="##C#" /> |
| 197 |
</context> |
| 198 |
|
| 199 |
<context name="ColdFusionCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 200 |
<DetectChar char="}" attribute="Special Character" context="ColdFusionCodeContent" /> |
| 201 |
<IncludeRules context="FindCodeAttributes" /> |
| 202 |
</context> |
| 203 |
<context name="ColdFusionCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 204 |
<IncludeRules context="FindEndCode" /> |
| 205 |
<IncludeRules context="##ColdFusion" /> |
| 206 |
</context> |
| 207 |
|
| 208 |
<context name="CppCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 209 |
<DetectChar char="}" attribute="Special Character" context="CppCodeContent" /> |
| 210 |
<IncludeRules context="FindCodeAttributes" /> |
| 211 |
</context> |
| 212 |
<context name="CppCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 213 |
<IncludeRules context="FindEndCode" /> |
| 214 |
<IncludeRules context="##C++" /> |
| 215 |
</context> |
| 216 |
|
| 217 |
<context name="CssCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 218 |
<DetectChar char="}" attribute="Special Character" context="CssCodeContent" /> |
| 219 |
<IncludeRules context="FindCodeAttributes" /> |
| 220 |
</context> |
| 221 |
<context name="CssCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 222 |
<IncludeRules context="FindEndCode" /> |
| 223 |
<IncludeRules context="##CSS" /> |
| 224 |
</context> |
| 225 |
|
| 226 |
<context name="DiffCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 227 |
<DetectChar char="}" attribute="Special Character" context="DiffCodeContent" /> |
| 228 |
<IncludeRules context="FindCodeAttributes" /> |
| 229 |
</context> |
| 230 |
<context name="DiffCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 231 |
<IncludeRules context="FindEndCode" /> |
| 232 |
<IncludeRules context="##Diff" /> |
| 233 |
</context> |
| 234 |
|
| 235 |
<context name="ErlangCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 236 |
<DetectChar char="}" attribute="Special Character" context="ErlangCodeContent" /> |
| 237 |
<IncludeRules context="FindCodeAttributes" /> |
| 238 |
</context> |
| 239 |
<context name="ErlangCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 240 |
<IncludeRules context="FindEndCode" /> |
| 241 |
<IncludeRules context="##Erlang" /> |
| 242 |
</context> |
| 243 |
|
| 244 |
<context name="GroovyCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 245 |
<DetectChar char="}" attribute="Special Character" context="GroovyCodeContent" /> |
| 246 |
<IncludeRules context="FindCodeAttributes" /> |
| 247 |
</context> |
| 248 |
<context name="GroovyCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 249 |
<IncludeRules context="FindEndCode" /> |
| 250 |
<IncludeRules context="##Groovy" /> |
| 251 |
</context> |
| 252 |
|
| 253 |
<context name="HaskellCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 254 |
<DetectChar char="}" attribute="Special Character" context="HaskellCodeContent" /> |
| 255 |
<IncludeRules context="FindCodeAttributes" /> |
| 256 |
</context> |
| 257 |
<context name="HaskellCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 258 |
<IncludeRules context="FindEndCode" /> |
| 259 |
<IncludeRules context="##Haskell" /> |
| 260 |
</context> |
| 261 |
|
| 262 |
<context name="HtmlCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 263 |
<DetectChar char="}" attribute="Special Character" context="HtmlCodeContent" /> |
| 264 |
<IncludeRules context="FindCodeAttributes" /> |
| 265 |
</context> |
| 266 |
<context name="HtmlCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 267 |
<IncludeRules context="FindEndCode" /> |
| 268 |
<IncludeRules context="##HTML" /> |
| 269 |
</context> |
| 270 |
|
| 271 |
<context name="JavaCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 272 |
<DetectChar char="}" attribute="Special Character" context="JavaCodeContent" /> |
| 273 |
<IncludeRules context="FindCodeAttributes" /> |
| 274 |
</context> |
| 275 |
<context name="JavaCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 276 |
<IncludeRules context="FindEndCode" /> |
| 277 |
<IncludeRules context="##Java" /> |
| 278 |
</context> |
| 279 |
|
| 280 |
<context name="JavaScriptCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 281 |
<DetectChar char="}" attribute="Special Character" context="JavaScriptCodeContent" /> |
| 282 |
<IncludeRules context="FindCodeAttributes" /> |
| 283 |
</context> |
| 284 |
<context name="JavaScriptCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 285 |
<IncludeRules context="FindEndCode" /> |
| 286 |
<IncludeRules context="Normal##JavaScript" /> |
| 287 |
</context> |
| 288 |
|
| 289 |
<context name="JsonCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 290 |
<DetectChar char="}" attribute="Special Character" context="JsonCodeContent" /> |
| 291 |
<IncludeRules context="FindCodeAttributes" /> |
| 292 |
</context> |
| 293 |
<context name="JsonCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 294 |
<IncludeRules context="FindEndCode" /> |
| 295 |
<IncludeRules context="##JSON" /> |
| 296 |
</context> |
| 297 |
|
| 298 |
<context name="LuaCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 299 |
<DetectChar char="}" attribute="Special Character" context="LuaCodeContent" /> |
| 300 |
<IncludeRules context="FindCodeAttributes" /> |
| 301 |
</context> |
| 302 |
<context name="LuaCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 303 |
<IncludeRules context="FindEndCode" /> |
| 304 |
<IncludeRules context="##Lua" /> |
| 305 |
</context> |
| 306 |
|
| 307 |
<context name="NoneCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 308 |
<DetectChar char="}" attribute="Special Character" context="NoneCodeContent" /> |
| 309 |
<IncludeRules context="FindCodeAttributes" /> |
| 310 |
</context> |
| 311 |
<context name="NoneCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 312 |
<IncludeRules context="FindEndCode" /> |
| 313 |
</context> |
| 314 |
|
| 315 |
<context name="PascalCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 316 |
<DetectChar char="}" attribute="Special Character" context="PascalCodeContent" /> |
| 317 |
<IncludeRules context="FindCodeAttributes" /> |
| 318 |
</context> |
| 319 |
<context name="PascalCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 320 |
<IncludeRules context="FindEndCode" /> |
| 321 |
<IncludeRules context="##Pascal" /> |
| 322 |
</context> |
| 323 |
|
| 324 |
<context name="PerlCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 325 |
<DetectChar char="}" attribute="Special Character" context="PerlCodeContent" /> |
| 326 |
<IncludeRules context="FindCodeAttributes" /> |
| 327 |
</context> |
| 328 |
<context name="PerlCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 329 |
<IncludeRules context="FindEndCode" /> |
| 330 |
<IncludeRules context="##Perl" /> |
| 331 |
</context> |
| 332 |
|
| 333 |
<context name="PhpCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 334 |
<DetectChar char="}" attribute="Special Character" context="PhpCodeContent" /> |
| 335 |
<IncludeRules context="FindCodeAttributes" /> |
| 336 |
</context> |
| 337 |
<context name="PhpCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 338 |
<IncludeRules context="FindEndCode" /> |
| 339 |
<IncludeRules context="phpsource##PHP/PHP" /> |
| 340 |
</context> |
| 341 |
|
| 342 |
<context name="PowerShellCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 343 |
<DetectChar char="}" attribute="Special Character" context="PowerShellCodeContent" /> |
| 344 |
<IncludeRules context="FindCodeAttributes" /> |
| 345 |
</context> |
| 346 |
<context name="PowerShellCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 347 |
<IncludeRules context="FindEndCode" /> |
| 348 |
<IncludeRules context="##PowerShell" /> |
| 349 |
</context> |
| 350 |
|
| 351 |
<context name="PythonCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 352 |
<DetectChar char="}" attribute="Special Character" context="PythonCodeContent" /> |
| 353 |
<IncludeRules context="FindCodeAttributes" /> |
| 354 |
</context> |
| 355 |
<context name="PythonCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 356 |
<IncludeRules context="FindEndCode" /> |
| 357 |
<IncludeRules context="##Python" /> |
| 358 |
</context> |
| 359 |
|
| 360 |
<context name="RubyCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 361 |
<DetectChar char="}" attribute="Special Character" context="RubyCodeContent" /> |
| 362 |
<IncludeRules context="FindCodeAttributes" /> |
| 363 |
</context> |
| 364 |
<context name="RubyCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 365 |
<IncludeRules context="FindEndCode" /> |
| 366 |
<IncludeRules context="##Ruby" /> |
| 367 |
</context> |
| 368 |
|
| 369 |
<context name="ScalaCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 370 |
<DetectChar char="}" attribute="Special Character" context="ScalaCodeContent" /> |
| 371 |
<IncludeRules context="FindCodeAttributes" /> |
| 372 |
</context> |
| 373 |
<context name="ScalaCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 374 |
<IncludeRules context="FindEndCode" /> |
| 375 |
<IncludeRules context="##Scala" /> |
| 376 |
</context> |
| 377 |
|
| 378 |
<context name="SqlCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 379 |
<DetectChar char="}" attribute="Special Character" context="SqlCodeContent" /> |
| 380 |
<IncludeRules context="FindCodeAttributes" /> |
| 381 |
</context> |
| 382 |
<context name="SqlCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 383 |
<IncludeRules context="FindEndCode" /> |
| 384 |
<IncludeRules context="##SQL" /> |
| 385 |
</context> |
| 386 |
|
| 387 |
<context name="SwiftCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 388 |
<DetectChar char="}" attribute="Special Character" context="SwiftCodeContent" /> |
| 389 |
<IncludeRules context="FindCodeAttributes" /> |
| 390 |
</context> |
| 391 |
<context name="SwiftCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 392 |
<IncludeRules context="FindEndCode" /> |
| 393 |
<IncludeRules context="Normal##Swift" /> |
| 394 |
</context> |
| 395 |
|
| 396 |
<context name="XmlCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 397 |
<DetectChar char="}" attribute="Special Character" context="XmlCodeContent" /> |
| 398 |
<IncludeRules context="FindCodeAttributes" /> |
| 399 |
</context> |
| 400 |
<context name="XmlCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 401 |
<IncludeRules context="FindEndCode" /> |
| 402 |
<IncludeRules context="##XML" /> |
| 403 |
</context> |
| 404 |
|
| 405 |
<context name="YamlCodeStartTagContent" attribute="Normal" lineEndContext="#stay"> |
| 406 |
<DetectChar char="}" attribute="Special Character" context="YamlCodeContent" /> |
| 407 |
<IncludeRules context="FindCodeAttributes" /> |
| 408 |
</context> |
| 409 |
<context name="YamlCodeContent" attribute="Normal" lineEndContext="#stay"> |
| 410 |
<IncludeRules context="FindEndCode" /> |
| 411 |
<IncludeRules context="##YAML" /> |
| 412 |
</context> |
| 413 |
|
| 414 |
|
| 415 |
<!-- Links --> |
| 416 |
<context name="BracketAnchorContent" attribute="Link" lineEndContext="#stay"> |
| 417 |
<DetectChar char="]" attribute="Special Character" context="#pop" /> |
| 418 |
</context> |
| 419 |
|
| 420 |
<context name="AttachmentLinkContent" attribute="Link" lineEndContext="#stay"> |
| 421 |
<DetectChar char="]" attribute="Special Character" context="#pop" /> |
| 422 |
</context> |
| 423 |
|
| 424 |
<context name="UserTagContent" attribute="Link" lineEndContext="#stay"> |
| 425 |
<DetectChar char="]" attribute="Special Character" context="#pop" /> |
| 426 |
</context> |
| 427 |
|
| 428 |
<context name="TaggedLinkContent" attribute="Link" lineEndContext="#stay" fallthroughContext="TaggedLinkUrl"> |
| 429 |
<DetectChar char="|" attribute="Special Character" context="TaggedLinkUrl" /> |
| 430 |
<RegExpr String="[^]|]+(?=\|)" attribute="Label" context="#stay" /> |
| 431 |
</context> |
| 432 |
<context name="TaggedLinkUrl" attribute="Link" lineEndContext="#stay"> |
| 433 |
<DetectChar char="]" attribute="Special Character" context="#pop#pop" /> |
| 434 |
</context> |
| 435 |
|
| 436 |
<context name="BraceAnchorContent" attribute="Link" lineEndContext="#stay"> |
| 437 |
<DetectChar char="}" attribute="Special Character" context="#pop#pop" /> |
| 438 |
</context> |
| 439 |
|
| 440 |
|
| 441 |
<!-- Text Effects --> |
| 442 |
<context name="ColorTagColor" attribute="Normal" lineEndContext="#stay"> |
| 443 |
<!-- Black and White have been skipped on purpose. --> |
| 444 |
<StringDetect String="silver}" context="ColorSilverTagColor" lookAhead="true" /> |
| 445 |
<StringDetect String="gray}" context="ColorGrayTagColor" lookAhead="true" /> |
| 446 |
<StringDetect String="red}" context="ColorRedTagColor" lookAhead="true" /> |
| 447 |
<StringDetect String="maroon}" context="ColorMaroonTagColor" lookAhead="true" /> |
| 448 |
<StringDetect String="yellow}" context="ColorYellowTagColor" lookAhead="true" /> |
| 449 |
<StringDetect String="olive}" context="ColorOliveTagColor" lookAhead="true" /> |
| 450 |
<StringDetect String="lime}" context="ColorLimeTagColor" lookAhead="true" /> |
| 451 |
<StringDetect String="green}" context="ColorGreenTagColor" lookAhead="true" /> |
| 452 |
<StringDetect String="aqua}" context="ColorAquaTagColor" lookAhead="true" /> |
| 453 |
<StringDetect String="teal}" context="ColorTealTagColor" lookAhead="true" /> |
| 454 |
<StringDetect String="blue}" context="ColorBlueTagColor" lookAhead="true" /> |
| 455 |
<StringDetect String="navy}" context="ColorNavyTagColor" lookAhead="true" /> |
| 456 |
<StringDetect String="fuchsia}" context="ColorFuchsiaTagColor" lookAhead="true" /> |
| 457 |
<StringDetect String="purple}" context="ColorPurpleTagColor" lookAhead="true" /> |
| 458 |
<DetectChar char="}" attribute="Special Character" context="HighlightedColorContent" /> |
| 459 |
</context> |
| 460 |
<context name="HighlightedColorContent" attribute="Normal" lineEndContext="#stay"> |
| 461 |
<DetectSpaces /> |
| 462 |
<DetectIdentifier /> |
| 463 |
<StringDetect String="{color}" attribute="Special Character" context="#pop#pop" /> |
| 464 |
</context> |
| 465 |
<context name="ColorSilverTagColor" attribute="Normal" lineEndContext="#stay"> |
| 466 |
<DetectChar char="}" attribute="Special Character" context="#pop!SilverContent" /> |
| 467 |
<StringDetect String="silver" attribute="Silver" /> |
| 468 |
</context> |
| 469 |
<context name="SilverContent" attribute="Silver" lineEndContext="#stay"> |
| 470 |
<IncludeRules context="HighlightedColorContent" /> |
| 471 |
</context> |
| 472 |
<context name="ColorGrayTagColor" attribute="Normal" lineEndContext="#stay"> |
| 473 |
<DetectChar char="}" attribute="Special Character" context="#pop!GrayContent" /> |
| 474 |
<StringDetect String="gray" attribute="Gray" /> |
| 475 |
</context> |
| 476 |
<context name="GrayContent" attribute="Gray" lineEndContext="#stay"> |
| 477 |
<IncludeRules context="HighlightedColorContent" /> |
| 478 |
</context> |
| 479 |
<context name="ColorRedTagColor" attribute="Normal" lineEndContext="#stay"> |
| 480 |
<DetectChar char="}" attribute="Special Character" context="#pop!RedContent" /> |
| 481 |
<StringDetect String="red" attribute="Red" /> |
| 482 |
</context> |
| 483 |
<context name="RedContent" attribute="Red" lineEndContext="#stay"> |
| 484 |
<IncludeRules context="HighlightedColorContent" /> |
| 485 |
</context> |
| 486 |
<context name="ColorMaroonTagColor" attribute="Normal" lineEndContext="#stay"> |
| 487 |
<DetectChar char="}" attribute="Special Character" context="#pop!MaroonContent" /> |
| 488 |
<StringDetect String="maroon" attribute="Maroon" /> |
| 489 |
</context> |
| 490 |
<context name="MaroonContent" attribute="Maroon" lineEndContext="#stay"> |
| 491 |
<IncludeRules context="HighlightedColorContent" /> |
| 492 |
</context> |
| 493 |
<context name="ColorYellowTagColor" attribute="Normal" lineEndContext="#stay"> |
| 494 |
<DetectChar char="}" attribute="Special Character" context="#pop!YellowContent" /> |
| 495 |
<StringDetect String="yellow" attribute="Yellow" /> |
| 496 |
</context> |
| 497 |
<context name="YellowContent" attribute="Yellow" lineEndContext="#stay"> |
| 498 |
<IncludeRules context="HighlightedColorContent" /> |
| 499 |
</context> |
| 500 |
<context name="ColorOliveTagColor" attribute="Normal" lineEndContext="#stay"> |
| 501 |
<DetectChar char="}" attribute="Special Character" context="#pop!OliveContent" /> |
| 502 |
<StringDetect String="olive" attribute="Olive" /> |
| 503 |
</context> |
| 504 |
<context name="OliveContent" attribute="Olive" lineEndContext="#stay"> |
| 505 |
<IncludeRules context="HighlightedColorContent" /> |
| 506 |
</context> |
| 507 |
<context name="ColorLimeTagColor" attribute="Normal" lineEndContext="#stay"> |
| 508 |
<DetectChar char="}" attribute="Special Character" context="#pop!LimeContent" /> |
| 509 |
<StringDetect String="lime" attribute="Lime" /> |
| 510 |
</context> |
| 511 |
<context name="LimeContent" attribute="Lime" lineEndContext="#stay"> |
| 512 |
<IncludeRules context="HighlightedColorContent" /> |
| 513 |
</context> |
| 514 |
<context name="ColorGreenTagColor" attribute="Normal" lineEndContext="#stay"> |
| 515 |
<DetectChar char="}" attribute="Special Character" context="#pop!GreenContent" /> |
| 516 |
<StringDetect String="green" attribute="Green" /> |
| 517 |
</context> |
| 518 |
<context name="GreenContent" attribute="Green" lineEndContext="#stay"> |
| 519 |
<IncludeRules context="HighlightedColorContent" /> |
| 520 |
</context> |
| 521 |
<context name="ColorAquaTagColor" attribute="Normal" lineEndContext="#stay"> |
| 522 |
<DetectChar char="}" attribute="Special Character" context="#pop!AquaContent" /> |
| 523 |
<StringDetect String="aqua" attribute="Aqua" /> |
| 524 |
</context> |
| 525 |
<context name="AquaContent" attribute="Aqua" lineEndContext="#stay"> |
| 526 |
<IncludeRules context="HighlightedColorContent" /> |
| 527 |
</context> |
| 528 |
<context name="ColorTealTagColor" attribute="Normal" lineEndContext="#stay"> |
| 529 |
<DetectChar char="}" attribute="Special Character" context="#pop!TealContent" /> |
| 530 |
<StringDetect String="teal" attribute="Teal" /> |
| 531 |
</context> |
| 532 |
<context name="TealContent" attribute="Teal" lineEndContext="#stay"> |
| 533 |
<IncludeRules context="HighlightedColorContent" /> |
| 534 |
</context> |
| 535 |
<context name="ColorBlueTagColor" attribute="Normal" lineEndContext="#stay"> |
| 536 |
<DetectChar char="}" attribute="Special Character" context="#pop!BlueContent" /> |
| 537 |
<StringDetect String="blue" attribute="Blue" /> |
| 538 |
</context> |
| 539 |
<context name="BlueContent" attribute="Blue" lineEndContext="#stay"> |
| 540 |
<IncludeRules context="HighlightedColorContent" /> |
| 541 |
</context> |
| 542 |
<context name="ColorNavyTagColor" attribute="Normal" lineEndContext="#stay"> |
| 543 |
<DetectChar char="}" attribute="Special Character" context="#pop!NavyContent" /> |
| 544 |
<StringDetect String="navy" attribute="Navy" /> |
| 545 |
</context> |
| 546 |
<context name="NavyContent" attribute="Navy" lineEndContext="#stay"> |
| 547 |
<IncludeRules context="HighlightedColorContent" /> |
| 548 |
</context> |
| 549 |
<context name="ColorFuchsiaTagColor" attribute="Normal" lineEndContext="#stay"> |
| 550 |
<DetectChar char="}" attribute="Special Character" context="#pop!FuchsiaContent" /> |
| 551 |
<StringDetect String="fuchsia" attribute="Fuchsia" /> |
| 552 |
</context> |
| 553 |
<context name="FuchsiaContent" attribute="Fuchsia" lineEndContext="#stay"> |
| 554 |
<IncludeRules context="HighlightedColorContent" /> |
| 555 |
</context> |
| 556 |
<context name="ColorPurpleTagColor" attribute="Normal" lineEndContext="#stay"> |
| 557 |
<DetectChar char="}" attribute="Special Character" context="#pop!PurpleContent" /> |
| 558 |
<StringDetect String="purple" attribute="Purple" /> |
| 559 |
</context> |
| 560 |
<context name="PurpleContent" attribute="Purple" lineEndContext="#stay"> |
| 561 |
<IncludeRules context="HighlightedColorContent" /> |
| 562 |
</context> |
| 563 |
|
| 564 |
<context name="BlockQuote" lineEndContext="#stay" lineEmptyContext="#pop" attribute="Block Quotation"/> |
| 565 |
<context name="BoldContent" attribute="Bold" lineEndContext="#stay"> |
| 566 |
<DetectChar char="*" attribute="Special Character" context="#pop" /> |
| 567 |
</context> |
| 568 |
<context name="CitationContent" attribute="Citation" lineEndContext="#stay"> |
| 569 |
<Detect2Chars char="?" char1="?" attribute="Special Character" context="#pop" /> |
| 570 |
</context> |
| 571 |
<context name="DeletedContent" attribute="Stroked Out" lineEndContext="#stay"> |
| 572 |
<DetectChar char="-" attribute="Special Character" context="#pop" /> |
| 573 |
</context> |
| 574 |
<context name="InsertedContent" attribute="Underlined" lineEndContext="#stay"> |
| 575 |
<DetectChar char="+" attribute="Special Character" context="#pop" /> |
| 576 |
</context> |
| 577 |
<context name="ItalicContent" attribute="Italic" lineEndContext="#stay"> |
| 578 |
<DetectChar char="_" attribute="Special Character" context="#pop" /> |
| 579 |
</context> |
| 580 |
<context name="Monospaced" attribute="Normal" lineEndContext="#stay"> |
| 581 |
<Detect2Chars char="}" char1="}" attribute="Special Character" context="#pop" /> |
| 582 |
</context> |
| 583 |
<context name="Quote" attribute="Block Quotation" lineEndContext="#stay"> |
| 584 |
<DetectSpaces /> |
| 585 |
<DetectIdentifier /> |
| 586 |
<StringDetect String="{quote}" context="#pop" attribute="Special Character" /> |
| 587 |
</context> |
| 588 |
<context name="SubscriptContent" attribute="Normal" lineEndContext="#stay"> |
| 589 |
<DetectChar char="~" attribute="Special Character" context="#pop" /> |
| 590 |
</context> |
| 591 |
<context name="SuperscriptContent" attribute="Normal" lineEndContext="#stay"> |
| 592 |
<DetectChar char="^" attribute="Special Character" context="#pop" /> |
| 593 |
</context> |
| 594 |
|
| 595 |
|
| 596 |
<!-- Tables --> |
| 597 |
<context name="TableHeaderRow" attribute="Bold" lineEndContext="#pop"> |
| 598 |
<DetectSpaces /> |
| 599 |
<DetectIdentifier /> |
| 600 |
<Detect2Chars char="|" char1="|" attribute="Special Character" context="#stay" /> |
| 601 |
<IncludeRules context="FindTextBreaks" /> |
| 602 |
<IncludeRules context="FindEscapeSequences" /> |
| 603 |
<IncludeRules context="FindIcons" /> |
| 604 |
</context> |
| 605 |
<context name="TableRegularRow" attribute="Normal" lineEndContext="#pop"> |
| 606 |
<DetectSpaces /> |
| 607 |
<DetectChar char="|" attribute="Special Character" context="#stay" /> |
| 608 |
<IncludeRules context="FindText" /> |
| 609 |
<IncludeRules context="FindTextBreaks" /> |
| 610 |
<IncludeRules context="FindEscapeSequences" /> |
| 611 |
<IncludeRules context="FindLinks" /> |
| 612 |
<IncludeRules context="FindColor" /> |
| 613 |
<IncludeRules context="FindIcons" /> |
| 614 |
</context> |
| 615 |
|
| 616 |
<context name="NoFormat" attribute="Normal" lineEndContext="#stay"> |
| 617 |
<DetectSpaces /> |
| 618 |
<DetectIdentifier /> |
| 619 |
<StringDetect String="{noformat}" attribute="Special Character" context="#pop" /> |
| 620 |
</context> |
| 621 |
|
| 622 |
|
| 623 |
<!-- Rules to Include --> |
| 624 |
|
| 625 |
<!-- BlockQuotes --> |
| 626 |
<context name="FindBlockQuote" attribute="Normal" lineEndContext="#stay"> |
| 627 |
<StringDetect String="bq. " context="BlockQuote" attribute="Special Character" column="0" /> |
| 628 |
</context> |
| 629 |
|
| 630 |
<!-- Colors --> |
| 631 |
<context name="FindColor" attribute="Normal" lineEndContext="#stay"> |
| 632 |
<RegExpr String="\{color:(?=[^}]+\})" attribute="Special Character" context="ColorTagColor" /> |
| 633 |
</context> |
| 634 |
|
| 635 |
<!-- Headings --> |
| 636 |
<context name="FindHeader" attribute="Normal" lineEndContext="#stay"> |
| 637 |
<RegExpr String="^h[1-6]\. " context="Header" attribute="Special Character" column="0" /> |
| 638 |
</context> |
| 639 |
|
| 640 |
<!-- Quotes --> |
| 641 |
<context name="FindQuote" attribute="Normal" lineEndContext="#stay"> |
| 642 |
<StringDetect String="{quote}" context="Quote" attribute="Special Character" /> |
| 643 |
</context> |
| 644 |
|
| 645 |
<!-- Text Breaks --> |
| 646 |
<context name="FindTextBreaks" attribute="Normal" lineEndContext="#stay"> |
| 647 |
<Detect2Chars char="\" char1="\" attribute="Special Character" /> |
| 648 |
<StringDetect String="----" attribute="Special Character" column="0" /> |
| 649 |
<StringDetect String="---" attribute="Special Character" /> |
| 650 |
<Detect2Chars char="-" char1="-" attribute="Special Character" /> |
| 651 |
</context> |
| 652 |
|
| 653 |
<!-- Embedded Items --> |
| 654 |
<context name="FindEmbeddedItems" attribute="Normal" lineEndContext="#stay"> |
| 655 |
<RegExpr String="&embeddedItem;" attribute="Special Character" context="EmbeddedItemContent" /> |
| 656 |
</context> |
| 657 |
|
| 658 |
<!-- Links --> |
| 659 |
<context name="FindLinks" attribute="Normal" lineEndContext="#stay"> |
| 660 |
<RegExpr String="&bracketAnchor;" attribute="Special Character" context="BracketAnchorContent" /> |
| 661 |
<RegExpr String="&attachment;" attribute="Special Character" context="AttachmentLinkContent" /> |
| 662 |
<RegExpr String="&userTag;" attribute="Special Character" context="UserTagContent" /> |
| 663 |
<RegExpr String="&taggedLink;" attribute="Special Character" context="TaggedLinkContent" /> |
| 664 |
<RegExpr String="\{anchor:(?=[^}]+\})" attribute="Special Character" context="BraceAnchorContent" /> |
| 665 |
<RegExpr String="&url;" attribute="Link" /> |
| 666 |
</context> |
| 667 |
|
| 668 |
<!-- Lists --> |
| 669 |
<context name="FindListItem" attribute="Normal" lineEndContext="#stay"> |
| 670 |
<RegExpr String="^([*#]+|-)(?=\s)" attribute="Special Character" context="#stay" column="0" /> |
| 671 |
</context> |
| 672 |
|
| 673 |
<!-- Text Effects --> |
| 674 |
<context name="FindTextEffects" attribute="Normal" lineEndContext="#stay"> |
| 675 |
<RegExpr String="&strong;" attribute="Special Character" context="BoldContent" /> |
| 676 |
<RegExpr String="&citation;" attribute="Special Character" context="CitationContent" /> |
| 677 |
<RegExpr String="&deleted;" attribute="Special Character" context="DeletedContent" /> |
| 678 |
<RegExpr String="&inserted;" attribute="Special Character" context="InsertedContent" /> |
| 679 |
<RegExpr String="&subscript;" attribute="Special Character" context="SubscriptContent" /> |
| 680 |
<RegExpr String="&superscript;" attribute="Special Character" context="SuperscriptContent" /> |
| 681 |
<RegExpr String="&monospaced;" attribute="Special Character" context="Monospaced" /> |
| 682 |
</context> |
| 683 |
<context name="EmphasisOrIdentifier" attribute="Normal" lineEndContext="#stay"> |
| 684 |
<RegExpr String="&emphasis;" attribute="Special Character" context="#pop!ItalicContent" /> |
| 685 |
<DetectIdentifier context="#pop" /> |
| 686 |
</context> |
| 687 |
|
| 688 |
<!-- Text --> |
| 689 |
<context name="FindText" attribute="Normal" lineEndContext="#stay"> |
| 690 |
<DetectChar char="_" context="EmphasisOrIdentifier" lookAhead="true" /> |
| 691 |
<DetectIdentifier /> |
| 692 |
<IncludeRules context="FindTextEffects" /> |
| 693 |
</context> |
| 694 |
|
| 695 |
<!-- Tables --> |
| 696 |
<context name="FindTables" attribute="Normal" lineEndContext="#stay"> |
| 697 |
<Detect2Chars char="|" char1="|" attribute="Special Character" context="TableHeaderRow" column="0" /> |
| 698 |
<DetectChar char="|" attribute="Special Character" context="TableRegularRow" column="0" /> |
| 699 |
</context> |
| 700 |
|
| 701 |
<!-- No format --> |
| 702 |
<context name="FindNoFormat" attribute="Normal" lineEndContext="#stay"> |
| 703 |
<StringDetect String="{noformat}" context="NoFormat" attribute="Special Character" /> |
| 704 |
</context> |
| 705 |
|
| 706 |
<!-- Panels --> |
| 707 |
<context name="FindPanels" attribute="Normal" lineEndContext="#stay"> |
| 708 |
<RegExpr String="&panel;" attribute="Special Character" context="PanelStartTagContent" /> |
| 709 |
</context> |
| 710 |
|
| 711 |
<!-- Code --> |
| 712 |
<context name="FindCode" attribute="Normal" lineEndContext="#stay"> |
| 713 |
<RegExpr String="&code;" attribute="Special Character" context="CodeContext" /> |
| 714 |
</context> |
| 715 |
|
| 716 |
<!-- Escape Sequences --> |
| 717 |
<context name="FindEscapeSequences" attribute="Normal" lineEndContext="#stay"> |
| 718 |
<RegExpr String="\\[^ \\]" attribute="EscapeSequence" /> |
| 719 |
</context> |
| 720 |
|
| 721 |
<!-- Line Breaks --> |
| 722 |
<context name="FindLineBreaks" attribute="Normal" lineEndContext="#stay"> |
| 723 |
<LineContinue attribute="Special Character" /> |
| 724 |
</context> |
| 725 |
|
| 726 |
<!-- Icons --> |
| 727 |
<context name="FindIcons" attribute="Normal" lineEndContext="#stay"> |
| 728 |
<RegExpr String=":\)|:\(|:P|:D|;\)|\(([yni/x!+-?*]|on|off|[*][rgby]|flag|flagoff)\)" attribute="Special Character" /> |
| 729 |
</context> |
| 730 |
|
| 731 |
</contexts> |
| 732 |
<itemDatas> |
| 733 |
<itemData name="Normal" defStyleNum="dsNormal" /><!-- Must be first. --> |
| 734 |
|
| 735 |
<itemData name="Bold" defStyleNum="dsNormal" bold="true" /> |
| 736 |
<itemData name="Header" defStyleNum="dsKeyword" /> |
| 737 |
<itemData name="Italic" defStyleNum="dsNormal" italic="true" /> |
| 738 |
<itemData name="Citation" defStyleNum="dsNormal" italic="true" /> |
| 739 |
<itemData name="Block Quotation" defStyleNum="dsNormal" /> |
| 740 |
<itemData name="Special Character" defStyleNum="dsDecVal" bold="true" /> |
| 741 |
<itemData name="Stroked Out" defStyleNum="dsNormal" strikeOut="true" /> |
| 742 |
<itemData name="Underlined" defStyleNum="dsNormal" underline="true" /> |
| 743 |
<itemData name="AttributeKeyword" defStyleNum="dsOthers" spellChecking="false" /> |
| 744 |
<itemData name="AttributeValue" defStyleNum="dsString" spellChecking="false" /> |
| 745 |
<itemData name="EscapeSequence" defStyleNum="dsChar" spellChecking="false" /> |
| 746 |
<itemData name="Link" defStyleNum="dsPreprocessor" spellChecking="false" /> |
| 747 |
<itemData name="Label" defStyleNum="dsAnnotation" spellChecking="false" /> |
| 748 |
|
| 749 |
<!-- Colors --> |
| 750 |
<itemData name="Silver" defStyleNum="dsNormal" color="silver" /> |
| 751 |
<itemData name="Gray" defStyleNum="dsNormal" color="gray" /> |
| 752 |
<itemData name="Red" defStyleNum="dsNormal" color="red" /> |
| 753 |
<itemData name="Maroon" defStyleNum="dsNormal" color="maroon" /> |
| 754 |
<itemData name="Yellow" defStyleNum="dsNormal" color="yellow" /> |
| 755 |
<itemData name="Olive" defStyleNum="dsNormal" color="olive" /> |
| 756 |
<itemData name="Lime" defStyleNum="dsNormal" color="lime" /> |
| 757 |
<itemData name="Green" defStyleNum="dsNormal" color="green" /> |
| 758 |
<itemData name="Aqua" defStyleNum="dsNormal" color="aqua" /> |
| 759 |
<itemData name="Teal" defStyleNum="dsNormal" color="teal" /> |
| 760 |
<itemData name="Blue" defStyleNum="dsNormal" color="blue" /> |
| 761 |
<itemData name="Navy" defStyleNum="dsNormal" color="navy" /> |
| 762 |
<itemData name="Fuchsia" defStyleNum="dsNormal" color="fuchsia" /> |
| 763 |
<itemData name="Purple" defStyleNum="dsNormal" color="purple" /> |
| 764 |
</itemDatas> |
| 765 |
</highlighting> |
| 766 |
<general> |
| 767 |
<keywords casesensitive="0" /> |
| 768 |
</general> |
| 769 |
</language> |