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