Warning, /frameworks/syntax-highlighting/autotests/folding/test.elv.fold is written in an unsupported language. File is not indexed.
0001 # A sample file to test syntax highlighting. 0002 0003 nop "double \n quoted" and 'single '' quoted' # comment 0004 0005 # Various variable contexts 0006 nop $pid 0007 var var-name = <beginfold id='1'></beginfold id='1'>{ var fn-name~ = <beginfold id='1'></beginfold id='1'>{var not-var-name<endfold id='1'>}</endfold id='1'> <endfold id='1'>}</endfold id='1'> 0008 nop (set var-name = foo | tmp var-name = bar); del var-name 0009 for var-name [] <beginfold id='1'></beginfold id='1'>{ <endfold id='1'>}</endfold id='1'> 0010 try <beginfold id='1'></beginfold id='1'>{ <endfold id='1'>}</endfold id='1'> catch var-name <beginfold id='1'></beginfold id='1'>{ <endfold id='1'>}</endfold id='1'> 0011 0012 # Builtin functions 0013 != a (nop b) | echo c 0014 0015 # Builtin special command 0016 and a b # "operator" 0017 use re # "other" 0018 if a <beginfold id='1'></beginfold id='1'>{ <endfold id='1'>}</endfold id='1'> elif b <beginfold id='1'></beginfold id='1'>{ <endfold id='1'>}</endfold id='1'> else <beginfold id='1'></beginfold id='1'>{ <endfold id='1'>}</endfold id='1'> 0019 try <beginfold id='1'></beginfold id='1'>{ <endfold id='1'>}</endfold id='1'> except err <beginfold id='1'></beginfold id='1'>{ <endfold id='1'>}</endfold id='1'> else <beginfold id='1'></beginfold id='1'>{ <endfold id='1'>}</endfold id='1'> finally <beginfold id='1'></beginfold id='1'>{ <endfold id='1'>}</endfold id='1'> 0020 0021 # Metacharacters 0022 echo ** () [] 0023 0024 # Regression tests 0025 set-env # should highlight entire set-env 0026 set-foo # should highlight nothing