Warning, /frameworks/syntax-highlighting/autotests/input/test.properties is written in an unsupported language. File is not indexed.

0001 # Java Properties Sample File
0002 
0003 # This is a commment
0004 ! This is also a comment
0005      # comment
0006      ! comment
0007 
0008 # keys and values can be separated by '=', ':' or by a series of spaces:
0009 
0010 key = value
0011 key : value
0012 key value
0013 
0014 # spaces, '=', or ':' can be used in the key by escaping them with a backslash:
0015 
0016 key\:continued = value
0017 key\=continued = value
0018 key\ continued = value
0019 
0020 # the key starts with the first non blank character on the line:
0021 
0022     key = value
0023     
0024 # there can be an arbitrary amount of spaces between the key, the value, and the ':' or '=', if present:
0025 
0026 key=value
0027 key     =      value
0028 
0029 key:value
0030 key     :      value
0031 
0032 key value
0033 key                  value
0034 
0035 # values can be continued on another line by escaping the line end character with a backslash:
0036 
0037 key = value \
0038   value continued
0039   
0040 # This works also over more than one line:
0041 
0042 key = value\
0043   value continued 1\
0044   value continued 2\
0045   value continued 3
0046   
0047 # But if the line ends with an even number of backslashes, the value is not continued:
0048 
0049 key = value\\
0050 newkey = value
0051 
0052 key = value\\\\
0053 newkey = value
0054 
0055 # both key and value can be ommitted, in which case either the key or the value or both equal the empty string:
0056 
0057 key =
0058 key
0059 = value
0060 
0061 =
0062 :
0063