MarioRicalde / SCSS.tmbundle

The TextMate SCSS Official Bundle. Now Compatible with SublimeText2.
834 stars 110 forks source link

Media Queries Still Marked Invalid #145

Open magiclantern opened 11 years ago

magiclantern commented 11 years ago

I saw the closed issue #5, but this is still happening on my machine, whether installing from the Bundles pane or downloading from here:

Screen Shot 2013-04-05 at 2 45 59 PM

TextMate 2.0-alpha.9409

Rocketpilot commented 10 years ago

I have this exact issue: it's something to do with the function_attribute "invalid.illegal.character_not_allowed_here.scss" matching "match = '[={}\?\;\@]';"

But I can't fix it.

clarkewd commented 10 years ago

A similar issue with media queries is also described on the forum. It has been mentioned that if the opening bracket is on a new line the media query will be marked as invalid:

screen-2014-02-25_11.26.08.png

Also note how the first rule inside the media query is not completely understood ( padding from padding-top is whited out )

Finally, it also seems that if multiple media queries with opening brackets following new lines then only the first one will show up as an error.

cvrebert commented 8 years ago

+1