/usr/share/bluefish/bflang/javascript.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 | <?xml version="1.0"?>
<!--
Bluefish HTML Editor
javascript.bflang2 $Revision: 8455 $
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/>.
-->
<!DOCTYPE bflang [
<!ENTITY all-javascript SYSTEM "all-javascript.bfinc">
<!ENTITY JQuery SYSTEM "JQuery.bfinc">
]>
<bflang name="Javascript" version="2.0" table="3476" contexts="10" matches="778">
<header>
<mime type="application/javascript"/>
<option name="load_reference" default="1"/>
<option name="load_completion" default="1"/>
<option name="show_in_menu" default="1"/>
<option name="autocomplete_with_newlines" default="0" description="autocomplete with newlines"/>
<option name="autocomplete_javascript_var" default="1" description="autocomplete javascript variables"/>
<option name="javascript_object_methods" default="1" description="Autocomplete Javascript object methods" />
<option name="javascript_css_properties" default="1" description="CSS properties" />
<option name="JQuery" default="0" description="include JQuery syntax" />
<highlight name="js-brackets" style="brackets" />
<highlight name="js-comment" style="comment" />
<highlight name="js-css-property" style="function" />
<highlight name="js-function" style="function" />
<highlight name="js-keyword" style="keyword" />
<highlight name="js-property" style="special-keyword" />
<highlight name="js-special-keyword" style="special-keyword" />
<highlight name="js-string" style="string" />
<highlight name="js-type" style="type" />
<highlight name="js-value" style="value" />
<highlight name="js-variable" style="variable" />
</header>
<properties>
<comment id="cm.cblockcomment" type="block" start="/*" end="*/" />
<comment id="cm.cpplinecomment" type="line" start="//" />
<smartindent characters="{" />
<smartoutdent characters="}" />
</properties>
<definition>
<context symbols=" ;(){}[]:\"\\',><*&^%!+=-|/?#	 ." commentid_line="cm.cpplinecomment" commentid_block="cm.cblockcomment">
<element pattern="(" id="e.html.js.lparen" starts_block="1" highlight="js-brackets" />
<element pattern=")" highlight="js-brackets" ends_block="1" blockstartelement="e.html.js.lparen" />
<element pattern="{" id="e.html.js.lbrace" starts_block="1" highlight="js-brackets" block_name="Curly brackets block"/>
<element pattern="}" highlight="js-brackets" ends_block="1" blockstartelement="e.html.js.lbrace" />
<element pattern="[" id="e.html.js.lbracket" starts_block="1" highlight="js-brackets" />
<element pattern="]" highlight="js-brackets" ends_block="1" blockstartelement="e.html.js.lbracket" />
&all-javascript;
<group class="JQuery">
&JQuery;
</group>
<element id="e.bcomment" pattern="/*" starts_block="1" highlight="js-comment" block_name="C style comment">
<context symbols="*/	 " highlight="js-comment">
<element pattern="*/" ends_block="1" blockstartelement="e.bcomment" highlight="js-comment" ends_context="1" />
</context>
</element>
<element pattern="//" highlight="js-comment">
<context symbols=" 	 " highlight="js-comment">
<element pattern="( | | )" is_regex="1" highlight="js-comment" ends_context="1" />
</context>
</element>
</context>
</definition>
</bflang>
|