This file is indexed.

/usr/share/gtksourceview-3.0/language-specs/scilab.lang is in libgtksourceview-3.0-common 3.10.2-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
 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<?xml version="1.0" encoding="UTF-8"?>
<!--

 This file is part of GtkSourceView.

 Authors: Sylvestre Ledru
 Copyright (C) 2010 Sylvestre Ledru <sylvestre.ledru@scilab.org>

 GtkSourceView is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 GtkSourceView is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

-->
<language id="scilab" _name="Scilab" version="2.0" _section="Scientific">
  <metadata>
    <property name="globs">*.sce;*.sci</property>
    <property name="line-comment-start">//</property>
  </metadata>

  <styles>
    <style id="comment"           _name="Comment"           map-to="def:comment"/>
    <style id="floating-point"    _name="Floating Point"    map-to="def:floating-point"/>
    <style id="string"            _name="String"            map-to="def:string"/>
    <style id="keyword"           _name="Keyword"           map-to="def:keyword"/>
    <style id="function"          _name="Function"          map-to="def:function"/>
    <style id="boolean"           _name="Boolean"           map-to="def:boolean"/>
    <style id="reserved-constant" _name="Reserved Constant" map-to="def:special-constant"/>
  </styles>

  <definitions>

    <context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
      <start>//</start>
      <include>
        <context ref="def:in-comment"/>
      </include>
    </context>

    <context id="double-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
      <start>"</start>
      <end>"</end>
      <include>
        <context ref="def:escape"/>
        <context ref="def:line-continue"/>
      </include>
    </context>

    <context id="single-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
      <!--
       To do not misdetect the transpose operator ' as the start of a string
       we assert to not follow a variable name (letters, digits and underscores)
       or a closing bracket (round, square or curly) or a dot (to form the
       array transpose operator ".'" ). -->
      <start>(?&lt;![0-9a-zA-Z_)\]}\.])'</start>
      <end>'</end>
      <include>
        <context style-ref="def:special-char">
          <match>''</match>
        </context>
        <context ref="def:line-continue"/>
      </include>
    </context>

    <context id="boolean" style-ref="boolean">
      <keyword>%f</keyword>
      <keyword>%F</keyword>
      <keyword>%t</keyword>
      <keyword>%T</keyword>
    </context>

    <context id="reserved-constant" style-ref="reserved-constant">
      <keyword>%pi</keyword>
      <keyword>%eps</keyword>
      <keyword>%inf</keyword>
      <keyword>%nan</keyword>
      <keyword>%e</keyword>
      <keyword>%i</keyword>
      <keyword>%z</keyword>
      <keyword>%s</keyword>
    </context>

    <context id="keyword" style-ref="keyword">
      <keyword>abort</keyword>
      <keyword>break</keyword>
      <keyword>case</keyword>
      <keyword>clear</keyword>
      <keyword>catch</keyword>
      <keyword>continue</keyword>
      <keyword>do</keyword>
      <keyword>elseif</keyword>
      <keyword>else</keyword>
      <keyword>endfunction</keyword>
      <keyword>end</keyword>
      <keyword>for</keyword>
      <keyword>function</keyword>
      <keyword>global</keyword>
      <keyword>if</keyword>
      <keyword>pause</keyword>
      <keyword>return</keyword>
      <keyword>resume</keyword>
      <keyword>select</keyword>
      <keyword>try</keyword>
      <keyword>then</keyword>
      <keyword>while</keyword>
    </context>

    <context id="floating-point-number" style-ref="floating-point">
       <match>\b([0-9]+[DdEe][+-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([DdEe][+-]?[0-9]+)?)</match>
     </context>

    <context id="function" style-ref="function">
      <keyword>abs</keyword>
      <keyword>and</keyword>
      <keyword>acos</keyword>
      <keyword>asin</keyword>
      <keyword>atan</keyword>
      <keyword>ceil</keyword>
      <keyword>cd</keyword>
      <keyword>chdir</keyword>
      <keyword>clearglobal</keyword>
      <keyword>cosh</keyword>
      <keyword>cos</keyword>
      <keyword>cumprod</keyword>
      <keyword>deff</keyword>
      <keyword>disp</keyword>
      <keyword>error</keyword>
      <keyword>exec</keyword>
      <keyword>execstr</keyword>
      <keyword>exists</keyword>
      <keyword>exp</keyword>
      <keyword>eye</keyword>
      <keyword>gettext</keyword>
      <keyword>floor</keyword>
      <keyword>fprintf</keyword>
      <keyword>fread</keyword>
      <keyword>fsolve</keyword>
      <keyword>imag</keyword>
      <keyword>isdef</keyword>
      <keyword>isempty</keyword>
      <keyword>isinf</keyword>
      <keyword>isnan</keyword>
      <keyword>isvector</keyword>
      <keyword>lasterror</keyword>
      <keyword>length</keyword>
      <keyword>load</keyword>
      <keyword>linspace</keyword>
      <keyword>list</keyword>
      <keyword>listfiles</keyword>
      <keyword>log10</keyword>
      <keyword>log2</keyword>
      <keyword>log</keyword>
      <keyword>max</keyword>
      <keyword>min</keyword>
      <keyword>msprintf</keyword>
      <keyword>mclose</keyword>
      <keyword>mopen</keyword>
      <keyword>ones</keyword>
      <keyword>or</keyword>
      <keyword>pathconvert</keyword>
      <keyword>poly</keyword>
      <keyword>printf</keyword>
      <keyword>prod</keyword>
      <keyword>pwd</keyword>
      <keyword>rand</keyword>
      <keyword>real</keyword>
      <keyword>round</keyword>
      <keyword>sinh</keyword>
      <keyword>sin</keyword>
      <keyword>size</keyword>
      <keyword>gsort</keyword>
      <keyword>sprintf</keyword>
      <keyword>sqrt</keyword>
      <keyword>strcat</keyword>
      <keyword>strcmp</keyword>
      <keyword>string</keyword>
      <keyword>sum</keyword>
      <keyword>system</keyword>
      <keyword>tanh</keyword>
      <keyword>tan</keyword>
      <keyword>type</keyword>
      <keyword>typename</keyword>
      <keyword>warning</keyword>
      <keyword>zeros</keyword>
    </context>

    <context id="scilab" class="no-spell-check">
      <include>
        <context ref="line-comment"/>
        <context ref="double-quoted-string"/>
        <context ref="single-quoted-string"/>
        <context ref="boolean"/>
        <context ref="reserved-constant"/>
        <context ref="keyword"/>
        <context ref="floating-point-number"/>
        <context ref="function"/>
      </include>
    </context>
  </definitions>
</language>