This file is indexed.

/usr/share/org.kde.syntax-highlighting/syntax/kmail-template.xml is in kf5-messagelib-data 4:17.12.3-0ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language
    name="KMail Template"
    version="1"
    kateversion="5.0"
    section="Other"
    extensions=""
    author="Volker Krause (vkrause@kde.org)"
    license="MIT"
    hidden="true">
    <highlighting>
        <list name="keyword-list">
            <item>%QUOTE</item>
            <item>%FORCEDPLAIN</item>
            <item>%FORCEDHTML</item>
            <item>%QHEADERS</item>
            <item>%HEADERS</item>
            <item>%TEXT</item>
            <item>%OTEXTSIZE</item>
            <item>%OTEXT</item>
            <item>%OADDRESSEESADDR</item>
            <item>%CCADDR</item>
            <item>%CCNAME</item>
            <item>%CCFNAME</item>
            <item>%CCLNAME</item>
            <item>%TOADDR</item>
            <item>%TONAME</item>
            <item>%TOFNAME</item>
            <item>%TOLNAME</item>
            <item>%TOLIST</item>
            <item>%FROMADDR</item>
            <item>%FROMNAME</item>
            <item>%FROMFNAME</item>
            <item>%FROMLNAME</item>
            <item>%FULLSUBJECT</item>
            <item>%MSGID</item>
            <item>%HEADER\\( </item>
            <item>%OCCADDR</item>
            <item>%OCCNAME</item>
            <item>%OCCFNAME</item>
            <item>%OCCLNAME</item>
            <item>%OTOADDR</item>
            <item>%OTONAME</item>
            <item>%OTOFNAME</item>
            <item>%OTOLNAME</item>
            <item>%OTOLIST</item>
            <item>%OTO</item>
            <item>%OFROMADDR</item>
            <item>%OFROMNAME</item>
            <item>%OFROMFNAME</item>
            <item>%OFROMLNAME</item>
            <item>%OFULLSUBJECT</item>
            <item>%OFULLSUBJ</item>
            <item>%OMSGID</item>
            <item>%DATEEN</item>
            <item>%DATESHORT</item>
            <item>%DATE</item>
            <item>%DOW</item>
            <item>%TIMELONGEN</item>
            <item>%TIMELONG</item>
            <item>%TIME</item>
            <item>%ODATEEN</item>
            <item>%ODATESHORT</item>
            <item>%ODATE</item>
            <item>%ODOW</item>
            <item>%OTIMELONGEN</item>
            <item>%OTIMELONG</item>
            <item>%OTIME</item>
            <item>%BLANK</item>
            <item>%NOP</item>
            <item>%CLEAR</item>
            <item>%DEBUGOFF</item>
            <item>%DEBUG</item>
            <item>%CURSOR</item>
            <item>%SIGNATURE</item>
        </list>
        <list name="function-list">
            <item>%INSERT=</item>
            <item>%SYSTEM=</item>
            <item>%QUOTEPIPE=</item>
            <item>%MSGPIPE=</item>
            <item>%BODYPIPE=</item>
            <item>%CLEARPIPE=</item>
            <item>%TEXTPIPE=</item>
            <item>%OHEADER=</item>
            <item>%HEADER=</item>
            <item>%DICTIONARYLANGUAGE=</item>
            <item>%LANGUAGE=</item>;
        </list>

        <contexts>
            <context name="normal-context" attribute="Normal Text" lineEndContext="#stay">
                <StringDetect String="%REM=&quot;" context="comment-context" attribute="Comment"/>
                <keyword attribute="Keyword" context="#stay" String="keyword-list"/>
                <keyword attribute="Function" context="argument-context1" String="function-list"/>
            </context>

            <context name="argument-context1" attribute="Function" lineEndContext="#pop" fallThroughContext="#pop">
                <DetectChar char="&quot;" context="argument-context2" attribute="String"/>
            </context>
            <context name="argument-context2" attribute="String" lineEndContext="#pop">
                <HlCStringChar attribute="Special Character" context="#stay"/>
                <DetectChar attribute="String" context="#pop" char="&quot;"/>
                <LineContinue attribute="String" context="#stay"/>
            </context>

            <context name="comment-context" lineEndContext="#stay" attribute="Comment">
                <StringDetect String="&quot;%-" attribute="Comment" context="#pop"/>
                <IncludeRules context="##Alerts"/>
            </context>
        </contexts>

        <itemDatas>
            <itemData name="Normal Text" defStyleNum="dsNormal"/>
            <itemData name="Keyword" defStyleNum="dsVariable" spellChecking="false"/>
            <itemData name="String" defStyleNum="dsString"/>
            <itemData name="Special Character" defStyleNum="dsChar" spellChecking="false"/>
            <itemData name="Comment" defStyleNum="dsComment"/>
            <itemData name="Function" defStyleNum="dsFunction" spellChecking="false"/>
        </itemDatas>
    </highlighting>

    <general>
        <comments>
            <comment name="singleLine" start="#"/>
        </comments>
        <keywords casesensitive="1" weakDeliminator="%=" additionalDeliminator="&quot;"/>
    </general>
</language>