For example, lets assume this falls within syntax highlighting.
With top, bottom, px being a keywords, set to display in red.
h1 {
top : 10 px ;
top : 10.1 px ;
bottom : -10px
}
(Yes, 10.1 is 'invalid' for CSS, included for testing-completeness sake)
I believe it should either display ...
Search found 2 matches
- Fri Apr 16, 2010 6:57 pm
- Forum: General
- Topic: Bug with highlighting certain combinations of numbers/words
- Replies: 0
- Views: 161
- Fri Apr 16, 2010 6:25 pm
- Forum: General
- Topic: Bug with nested SyntaxStart/SyntaxEnd
- Replies: 0
- Views: 145
Bug with nested SyntaxStart/SyntaxEnd
I'm working on an updated syntax definition for CSS, in which, nesting {}'s is legal, and used for 'classes' using the @keyword feature.
Now, the problem is, if SyntaxStart and SyntaxEnd are { and }, and you have a chunk of code such as:
@media all and (max-width: 200px) {
html {margin: 0 ...
Now, the problem is, if SyntaxStart and SyntaxEnd are { and }, and you have a chunk of code such as:
@media all and (max-width: 200px) {
html {margin: 0 ...