/usr/share/bluefish/bflang/all-vbscript.bfinc 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 | <?xml version="1.0" encoding="UTF-8" ?>
<!--
Bluefish HTML Editor
all-vbscript.bfinc $Revision: 7674 $
Copyright (C) 2008-2009 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/>.
-->
<bfinc>
<element pattern="(" id="e.vbs.lparen" starts_block="1" highlight="vbs-brackets" />
<element pattern=")" highlight="vbs-brackets" ends_block="1" blockstartelement="e.vbs.lparen" />
<group highlight="vbs-keyword" case_insens="1">
<autocomplete enable="1" />
<element pattern="and" />
<element pattern="as" />
<element pattern="call" />
<element pattern="case" />
<element pattern="default" />
<element pattern="each" />
<element pattern="else" />
<element pattern="elseif" />
<element pattern="end" />
<element pattern="exit" />
<element pattern="explicit" />
<element pattern="goto" />
<element pattern="in" />
<element pattern="is" />
<element pattern="let" />
<element pattern="mod" />
<element pattern="new" />
<element pattern="not" />
<element pattern="option" />
<element pattern="or" />
<element pattern="preserve" />
<element pattern="private" />
<element pattern="public" />
<element pattern="redim" />
<element pattern="resume" />
<element pattern="set" />
<element pattern="step" />
<element pattern="to" />
<element pattern="until" />
<element pattern="xor" />
<element pattern="exit[\ \t]+for" is_regex="1" mayfold="1" >
<autocomplete string="exit for" />
</element>
<element pattern="exit[\ \t]+do" is_regex="1" mayfold="1" >
<autocomplete string="exit do" />
</element>
<element pattern="exit[\ \t]+while" is_regex="1" mayfold="1" >
<autocomplete string="exit while" />
</element>
<element pattern="exit[\ \t]+sub" is_regex="1" mayfold="1" >
<autocomplete string="exit sub" />
</element>
<element pattern="exit[\ \t]+function" is_regex="1" mayfold="1" >
<autocomplete string="exit function" />
</element>
<element id="e.vbs.for" pattern="for" starts_block="1" mayfold="1" />
<element pattern="next" ends_block="1" blockstartelement="e.vbs.for" mayfold="1" />
<element id="e.vbs.do" pattern="do" starts_block="1" mayfold="1" />
<element pattern="loop" ends_block="1" blockstartelement="e.vbs.do" mayfold="1" />
<element id="e.vbs.while" pattern="while" starts_block="1" mayfold="1" />
<element pattern="wend" ends_block="1" blockstartelement="e.vbs.while" mayfold="1" />
<element id="e.vbs.sub" pattern="sub" starts_block="1" mayfold="1" />
<element pattern="end[\ \t]+sub" is_regex="1" ends_block="1" blockstartelement="e.vbs.sub" mayfold="1" >
<autocomplete string="end sub" />
</element>
<element id="e.vbs.function" pattern="function" starts_block="1" mayfold="1" />
<element pattern="end[\ \t]+function" is_regex="1" ends_block="1" blockstartelement="e.vbs.function" mayfold="1" >
<autocomplete string="end function" />
</element>
<element id="e.vbs.property" pattern="property" starts_block="1" mayfold="1" />
<element pattern="end[\ \t]+property" is_regex="1" ends_block="1" blockstartelement="e.vbs.property" mayfold="1" >
<autocomplete string="end property" />
</element>
<element pattern="if" highlight="vbs-keyword" />
<element id="e.vbs.then" pattern="then[\ \t]*( | | )" is_regex="1" starts_block="1" mayfold="1" highlight="vbs-keyword" >
<autocomplete string="then" />
</element>
<element pattern="end[\ \t]+if" is_regex="1" ends_block="1" mayfold="1" highlight="vbs-keyword" blockstartelement="e.vbs.then" >
<autocomplete string="end if" />
</element>
<element pattern="then" highlight="vbs-keyword" />
<element id="e.vbs.with" pattern="with" starts_block="1" mayfold="1" />
<element pattern="end[\ \t]+with" is_regex="1" ends_block="1" blockstartelement="e.vbs.with" mayfold="1" >
<autocomplete string="end with" />
</element>
<element id="e.vbs.select" pattern="select" starts_block="1" mayfold="1" />
<element pattern="end[\ \t]+select" is_regex="1" ends_block="1" blockstartelement="e.vbs.select" mayfold="1" >
<autocomplete string="end select" />
</element>
<element id="e.vbs.class" pattern="class" starts_block="1" mayfold="1" />
<element pattern="end[\ \t]+class" is_regex="1" ends_block="1" blockstartelement="e.vbs.class" mayfold="1" >
<autocomplete string="end class" />
</element>
</group>
<group highlight="vbs-function" case_insens="1">
<autocomplete enable="1" />
<element pattern="cbool" />
<element pattern="cbyte" />
<element pattern="cchar" />
<element pattern="cdate" />
<element pattern="cdec" />
<element pattern="cdbl" />
<element pattern="cint" />
<element pattern="clng" />
<element pattern="cobj" />
<element pattern="csng" />
<element pattern="cstr" />
</group>
<group highlight="vbs-type" case_insens="1">
<autocomplete enable="1" />
<element pattern="dim" />
<element pattern="Array"/>
<element pattern="const" />
<element pattern="codepage" />
<element pattern="language" />
</group>
<group highlight="vbs-value" case_insens="1">
<autocomplete enable="1" />
<element pattern="true" />
<element pattern="false" />
<element pattern="nothing" />
</group>
<element pattern="[-\.]?[0-9]+" is_regex="1" highlight="vbs-value" case_insens="1"/>
<!--this pattern overlaps with many keywords
<element pattern="\.?[a-zA-Z][a-zA-Z_0-9]*[\$%]?" is_regex="1" highlight="vbs-variable"/>-->
<!--<element pattern=""" highlight="vbs-string">
<context symbols=""" highlight="vbs-string">
<element pattern=""" highlight="vbs-string" ends_context="1" />
</context>
</element>
<element pattern="'" highlight="vbs-comment">
<context symbols=" >< " highlight="vbs-comment">
<element pattern="( | | )" is_regex="1" highlight="vbs-comment" ends_context="1" />
</context>
</element>-->
<!--<element pattern="rem " highlight="vbs-comment" case_insens="1">
<context symbols=" >< " highlight="vbs-comment">
<element pattern="( | | )" is_regex="1" highlight="vbs-comment" ends_context="1" />
</context>
</element>-->
</bfinc>
|