[mapserver-commits] r12530 - trunk/docs/_static

svn at osgeo.org svn at osgeo.org
Wed Sep 7 11:47:34 EDT 2011


Author: hobu
Date: 2011-09-07 08:47:34 -0700 (Wed, 07 Sep 2011)
New Revision: 12530

Modified:
   trunk/docs/_static/map_fold.vim
Log:
add some more items for folding

Modified: trunk/docs/_static/map_fold.vim
===================================================================
--- trunk/docs/_static/map_fold.vim	2011-09-07 12:04:00 UTC (rev 12529)
+++ trunk/docs/_static/map_fold.vim	2011-09-07 15:47:34 UTC (rev 12530)
@@ -18,7 +18,7 @@
     " If it's a group statement, fold one level
     let line = getline(a:lnum)
 
-    if line =~ '\c^\s*\(CLASS\|JOIN\|LABEL\|LAYER\|LEGEND\|METADATA\|OUTPUTFORMAT\|PROJECTION\|QUERYMAP\|REFERENCE\|SCALEBAR\|STYLE\|SYMBOL\|WEB\)\s*\(#.*\)*$'
+    if line =~ '\c^\s*\(CLASS\|CLUSTER\|FEATURE\|JOIN\|LABEL\|LAYER\|LEGEND\|METADATA\|OUTPUTFORMAT\|PROJECTION\|QUERYMAP\|REFERENCE\|SCALEBAR\|STYLE\|SYMBOL\|VALIDATION\|WEB\)\s*\(#.*\)*$'
 	return "a1"
     endif
 
@@ -40,8 +40,8 @@
   let name = ""
   while i < v:foldend
     let iline = getline(i)
-    if iline =~ '\c^\s*\(NAME\|EXPRESSION\)\s\s*'
-      let name = substitute(iline, '\c\s*\(NAME\|EXPRESSION\)\s*', '', '')
+    if iline =~ '\c^\s*\(NAME\|EXPRESSION\|GROUP\)\s\s*'
+      let name = substitute(iline, '\c\s*\(NAME\|EXPRESSION\|GROUP\)\s*', '', '')
       break
     endif
     let i = i + 1


Property changes on: trunk/docs/_static/map_fold.vim
___________________________________________________________________
Deleted: svn:mergeinfo
   - 



More information about the mapserver-commits mailing list