editors

view Euphoria.tmbundle/Preferences/Indent Rules.tmPreferences @ 57:149815b0874c

* added installer for jEdit mode
author Shawn David Pringle B.Sc. <shawn.pringle@gmail.com>
date Fri Sep 25 00:03:32 2015 -0300 (2015-09-25)
parents
children
line source
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 <plist version="1.0">
4 <dict>
5 <key>name</key>
6 <string>Indent Rules</string>
7 <key>uuid</key>
8 <string>935FF0C9-D97D-44E4-B347-AA18727E585C</string>
9 <key>settings</key>
10 <dict>
11 <key>decreaseIndentPattern</key>
12 <string>^\s*([}\]]\s*$|(case|else|elsif|end|elsifdef|elsedef|then|do|entry)\b)</string>
13 <key>increaseIndentPattern</key>
14 <string>(?x)^
15 (\s*
16 (case
17 |do
18 |else|elsif|elsifdef|elsedef|entry
19 |for
20 |if|ifdef
21 |loop
22 |switch
23 |then
24 |while
25 |for|while|until
26 |((override|global|public|export)\s+)?(routine|procedure|function|type)
27 )\b
28 (?! .*? \bend\b )
29 |( "(\\.|[^\\"])*+" # eat a double quoted string
30 | `(\\.|[^\\`])*+` # eat a backtick quoted string
31 | '(\\.|[^\\'])*+' # eat a single quoted string
32 | [^#"'] # eat all but comments and strings
33 )*
34 ( \{ (?! [^}]*+ \} )
35 )
36 ).*$</string>
37 </dict>
38 <key>scope</key>
39 <string>source.euphoria</string>
40 </dict>
41 </plist>

SCM Home | OpenEuphoria.org Home