/usr/share/bluefish/bflang/vala.bflang2 is in bluefish-data 2.2.7-2.
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 | <?xml version="1.0"?>
<!--
Bluefish HTML Editor
vala.bflang2 $Revision: 7425 $
Copyright (C) 2008-2012 Olivier Sessink
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<bflang name="Vala" version="2.0" table="335" contexts="5" matches="95">
<header>
<mime type="text/x-vala?vala"/>
<option name="load_reference" default="1"/>
<option name="load_completion" default="1"/>
<option name="show_in_menu" default="0"/>
<option name="Parentheses block_foldable" default="0" description="Allow folding of the Parentheses block" />
<highlight name="keyword" style="keyword" />
<highlight name="OO-keyword" style="special-keyword" />
<highlight name="brackets" style="brackets" />
<highlight name="type" style="type" />
<highlight name="comment" style="comment" />
<highlight name="string" style="string" />
<highlight name="value" style="value" />
</header>
<properties>
<comment type="block" start="/*" end="*/" />
<comment type="line" start="//" />
<smartindent characters="{" />
<smartoutdent characters="}" />
</properties>
<definition>
<context symbols=" \.;(){}[]:\"\\',*&^%!+=-|/?#	 ">
<group highlight="keyword">
<autocomplete enable="1" />
<element pattern="if" />
<element pattern="else" />
<element pattern="switch" />
<element pattern="case" />
<element pattern="default" />
<element pattern="break" />
<element pattern="continue" />
<element pattern="return" />
<element pattern="for" />
<element pattern="foreach" />
<element pattern="do" />
<element pattern="new" />
<element pattern="while" />
<element pattern="try" />
<element pattern="catch" />
<element pattern="finally" />
<element pattern="throw" />
</group>
<group highlight="OO-keyword">
<autocomplete enable="1" />
<element pattern="namespace" />
<element pattern="interface" />
<element pattern="class" />
<element pattern="struct" />
<element pattern="enum" />
<element pattern="signal" />
<element pattern="construct" />
<element pattern="callback" />
<element pattern="get" />
<element pattern="set" />
<element pattern="base" />
<element pattern="const" />
<element pattern="static" />
<element pattern="var" />
<element pattern="weak" />
<element pattern="virtual" />
<element pattern="abstract" />
<element pattern="override" />
<element pattern="public" />
<element pattern="protected" />
<element pattern="private" />
<element pattern="in" />
<element pattern="out" />
<element pattern="ref" />
<element pattern="lock" />
<element pattern="using" />
<element pattern="dynamic" />
<element pattern="extern" />
<element pattern="internal" />
<element pattern="readonly" />
<element pattern="sealed" />
<element pattern="volatile" />
<element pattern="this" />
</group>
<group highlight="type">
<autocomplete enable="1" />
<element pattern="true" />
<element pattern="false" />
<element pattern="null" />
<element pattern="bool" />
<element pattern="byte" />
<element pattern="char" />
<element pattern="decimal" />
<element pattern="double" />
<element pattern="float" />
<element pattern="int" />
<element pattern="int8" />
<element pattern="int16" />
<element pattern="int32" />
<element pattern="int64" />
<element pattern="long" />
<element pattern="object" />
<element pattern="sbyte" />
<element pattern="short" />
<element pattern="string" />
<element pattern="uchar" />
<element pattern="uint" />
<element pattern="uint8" />
<element pattern="uint16" />
<element pattern="uint32" />
<element pattern="uint64" />
<element pattern="ulong" />
<element pattern="ushort" />
<element pattern="void" />
</group>
<element pattern=""" highlight="string">
<context symbols="\"" highlight="string">
<element pattern="\"" highlight="string" />
<element pattern=""" highlight="string" ends_context="1" />
</context>
</element>
<element pattern="'" highlight="string">
<context symbols="\'" highlight="string">
<element pattern="\\." is_regex="1" highlight="string" />
<element pattern="'" highlight="string" ends_context="1" />
</context>
</element>
<element id="e.lbrace" pattern="{" starts_block="1" highlight="brackets" block_name="Curly brackets block" />
<element pattern="}" ends_block="1" blockstartelement="e.lbrace" highlight="brackets" />
<element id="e.lbracket" pattern="[" starts_block="1" highlight="brackets" />
<element pattern="]" ends_block="1" blockstartelement="e.lbracket" highlight="brackets" />
<element id="e.lparen" pattern="(" starts_block="1" highlight="brackets" block_name="Parentheses block" />
<element pattern=")" ends_block="1" blockstartelement="e.lparen" highlight="brackets" />
<element pattern="//[^ ]*" is_regex="1" highlight="comment"/>
<element id="e.lcomment" pattern="/*" starts_block="1" highlight="comment" block_name="Comment block">
<context symbols="*/	 " highlight="comment">
<element pattern="*/" ends_block="1" blockstartelement="e.lcomment" highlight="comment" ends_context="1" />
</context>
</element>
<element pattern="[0-9.]+" is_regex="1" highlight="value"/>
</context>
</definition>
</bflang>
|