Operators in order of priority (highest first):
( ) Grouping
& Intersection
- Asymmetric difference (relative complement)
| Union
, Comma
The color scheme file format ( .tmTheme) is inherited from TextMate .
Here are some relevant links and citations from the TextMate documentation regarding scope selector operators:
- Guide: Area Selectors
- Exclusion of elements
"we can subtract region selectors to obtain a (asymmetric) difference using the minus operator.
" , - ,
. , , , : string, comment. "
" , , : (a | b) & c - d,
d c, a b. "- - 17:
"
. , , #
source.ruby string, string source ( ).
: (source.ruby string) - (string source).
, ( - ).
( TextMate)
TextMate.
,
:
1,
2,
3,
4,
5,
6. :
(, string). " ", . source.ruby string, (| ,), (&) (-).
. , ,, | , , , ( CSS), &, , | | ,, , ,
a - b | c & d, e - f | g & h ⇔ (a - b | c & d), (e - f | g & h)
TextMate , Sublime Text,
*, ^, >, $, L:, R:, B:. :
1,
2,
3,
4.