Skip to content

Commit

Permalink
Adding some new words.
Browse files Browse the repository at this point in the history
Improving theme to have text more readable in selection.
  • Loading branch information
Oldes committed Jun 10, 2014
1 parent 87d0a68 commit f68112c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions Red-REBOL.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<key>background</key>
<string>#FFFFFF</string>
<key>caret</key>
<string>#7C7C7C</string>
<string>#FF0000</string>
<key>foreground</key>
<string>#000000</string>
<key>invisibles</key>
<string>#B6B6B6</string>
<key>lineHighlight</key>
<string>#EFFCA68F</string>
<string>#ff8086</string>
<key>selection</key>
<string>#E3FC8D</string>
</dict>
Expand Down Expand Up @@ -49,7 +49,7 @@
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#FFFFFF</string>
<string>#e3c1e1</string>
<key>background</key>
<string>#580909</string>
</dict>
Expand All @@ -64,9 +64,9 @@
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#FFFFFF</string>
<string>#e3c1e1</string>
<key>background</key>
<string>#f803fb</string>
<string>#91428b</string>
</dict>
</dict>

Expand Down Expand Up @@ -213,7 +213,7 @@
<key>name</key>
<string>Number</string>
<key>scope</key>
<string>constant.numeric, logic</string>
<string>constant.numeric, logic, date, time, number.money</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
Expand Down Expand Up @@ -262,9 +262,9 @@
<key>fontStyle</key>
<string>bold</string>
<key>foreground</key>
<string>#ffffff</string>
<string>#a62f00</string>
<key>background</key>
<string>#f80a0a</string>
<string>#ffc1a9</string>
</dict>
</dict>

Expand Down
4 changes: 2 additions & 2 deletions Red.JSON-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@

"word-datatype": {
"name": "support.type.red",
"match": "(?<=^|\\s|\\[|\\]|\\)|\\()([A-Za-z_0-9=_\\-\\?\\*\\+\\.~:']+\\!|as|to)(?=\\s|\\)|\\])"
"match": "(?<=^|\\s|\\[|\\]|\\)|\\()([A-Za-z_0-9=_\\-\\?\\*\\+\\.~:']+\\!|as|to|as-float|as-integer|as-byte|)(?=\\s|\\)|\\])"
},

"word-group1": {
Expand Down Expand Up @@ -423,7 +423,7 @@

"word-reds-contexts": {
"name": "entity.other.inherited-class.red",
"match": "(?<=^|\\s|\\[|\\]|\\)|\\()(?i)(action|bitset|block|char|_context|datatype|file|function|get-path|get-word|integer|issue|lit-path|lit-word|logic|native|none|object|op|paren|path|point|refinement|routine|set-path|set-word|string|symbol|unset|url|word|interpreter|stack|words|float|binary|parser)(?=/)"
"match": "(?<=^|\\s|\\[|\\]|\\)|\\()(?i)(action|bitset|block|char|_context|datatype|file|function|get-path|get-word|integer|issue|lit-path|lit-word|logic|native|none|object|op|paren|path|point|refinement|routine|set-path|set-word|string|symbol|unset|url|word|interpreter|stack|words|float|binary|parser|unicode)(?=/)"
},

//WORD is defined here so numbers are not detected inside words like: foo-2-boo
Expand Down
4 changes: 2 additions & 2 deletions Red.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@
<key>word-datatype</key>
<dict>
<key>match</key>
<string>(?&lt;=^|\s|\[|\]|\)|\()([A-Za-z_0-9=_\-\?\*\+\.~:']+\!|as|to)(?=\s|\)|\])</string>
<string>(?&lt;=^|\s|\[|\]|\)|\()([A-Za-z_0-9=_\-\?\*\+\.~:']+\!|as|to|as-float|as-integer|as-byte|)(?=\s|\)|\])</string>
<key>name</key>
<string>support.type.red</string>
</dict>
Expand Down Expand Up @@ -923,7 +923,7 @@
<key>word-reds-contexts</key>
<dict>
<key>match</key>
<string>(?&lt;=^|\s|\[|\]|\)|\()(?i)(action|bitset|block|char|_context|datatype|file|function|get-path|get-word|integer|issue|lit-path|lit-word|logic|native|none|object|op|paren|path|point|refinement|routine|set-path|set-word|string|symbol|unset|url|word|interpreter|stack|words|float|binary|parser)(?=/)</string>
<string>(?&lt;=^|\s|\[|\]|\)|\()(?i)(action|bitset|block|char|_context|datatype|file|function|get-path|get-word|integer|issue|lit-path|lit-word|logic|native|none|object|op|paren|path|point|refinement|routine|set-path|set-word|string|symbol|unset|url|word|interpreter|stack|words|float|binary|parser|unicode)(?=/)</string>
<key>name</key>
<string>entity.other.inherited-class.red</string>
</dict>
Expand Down

0 comments on commit f68112c

Please sign in to comment.