This file is indexed.

/usr/share/katepart5/syntax/ktpdebugoutput.xml is in kde-telepathy-data 4:17.12.3-0ubuntu1.

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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
Kate syntax highlighing for KTp debug output, used in ktp-debugger.
Copyright 2013 Sven Brauch <svenbrauch@gmail.com>
-->
<language name="KTp" version="1.11" kateversion="2.1" section="Other" extensions="*.ktpdebugoutput" mimetype="">

  <highlighting>

    <list name="tags">
      <item>presence</item>
      <item>show</item>
      <item>c</item>
      <item>x</item>
      <item>photo</item>
      <item>query</item>
      <item>feature</item>
      <item>identity</item>
      <item>status</item>
      <item>priority</item>
      <item>iq</item>
      <item>vCard</item>
      <item>FN</item>
      <item>URL</item>
      <item>PHOTO</item>
      <item>TYPE</item>
      <item>BINVAL</item>
      <item>message</item>
      <item>body</item>
      <item>active</item>
      <item>error</item>
      <item>N</item>
      <item>FAMILY</item>
      <item>pubsub</item>
      <item>items</item>
    </list>

    <contexts>
      <context attribute="Normal" LineEndContext="#stay" name="Normal">
        <RegExpr attribute="Timestamp" context="#stay" String="\d+/\d+/\d+ \d+:\d+:\d+\.\d+" column="0"/>
        <RegExpr attribute="URL" context="#stay" String="([a-zA-Z0-9_\-]+)?(/[a-zA-Z0-9_\-]+)+(/)?"/>
        <RegExpr attribute="URL" context="#stay" String="[a-zA-Z]+://[a-zA-Z_0-9\.@:]+(/[^,\.\s]*)?"/>
        <RegExpr attribute="URL" context="#stay" String="[a-zA-Z0-9\.]+@[a-zA-Z_0-9\.@:]+(/[^,\)\(\s]*)?"/>
        <RegExpr attribute="Location" context="#stay" String="[a-zA-Z_0-9]+: .*:\d+:"/>
        <RegExpr attribute="Location" context="#stay" String="[a-zA-Z_]+[a-zA-Z_0-9]*( \(.*:\d+\))?:"/>
        <Detect2Chars attribute="Symbol" context="HaveStar" char="*" char1=" " />
        <HlCHex attribute="Hex" context="#stay"/>
        <IncludeRules context="FindStrings" />
        <IncludeRules context="FindStringsDQ" />
        <IncludeRules context="FindServiceNames" />
      </context>

      <context attribute="Normal" lineEndContext="#stay" name="HaveStar">
        <keyword attribute="Tag" String="tags" context="#pop"/>
        <RegExpr attribute="Normal" String="." context="#pop"/>
      </context>

      <context attribute="Normal" lineEndContext="#stay" name="FindStrings">
        <DetectChar attribute="String" context="StringSQ" char="'" />
      </context>
      <context attribute="String" lineEndContext="Normal" name="StringSQ">
        <DetectChar attribute="String" context="#pop" char="'" />
      </context>

      <context attribute="Normal" lineEndContext="#stay" name="FindStringsDQ">
        <DetectChar attribute="String" context="StringDQ" char="&quot;" />
      </context>
      <context attribute="String" lineEndContext="Normal" name="StringDQ">
        <DetectChar attribute="String" context="#pop" char="&quot;" />
      </context>

      <context attribute="Normal" lineEndContext="#stay" name="FindServiceNames">
        <DetectChar attribute="ServiceName" context="ServiceName" char="[" />
      </context>
      <context attribute="ServiceName" lineEndContext="Normal" name="ServiceName">
        <DetectChar attribute="ServiceName" context="#pop" char="]" />
      </context>
    </contexts>

    <itemDatas>
      <itemData name="Normal" defStyleNum="dsNormal"/>
      <itemData name="Keyword"  defStyleNum="dsKeyword"/>
      <itemData name="String"  defStyleNum="dsString" color="#BC0D0D"/>
      <itemData name="ServiceName" bold="1"/>
      <itemData name="Tag" bold="1" defStyleNum="dsDataType"/>
      <itemData name="Location" defStyleNum="dsFunction" italic="1"/>
      <itemData name="Timestamp"  defStyleNum="dsComment" italic="0"/>
      <itemData name="URL"  defStyleNum="dsOthers" italic="1"/>
      <itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false"/>
    </itemDatas>

  </highlighting>

</language>