[ 
https://issues.apache.org/jira/browse/NETBEANS-4290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281783#comment-17281783
 ] 

Stefan Röper commented on NETBEANS-4290:
----------------------------------------

{code:java}
.mx {
  background-image: 
url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20viewBox%3D%220%200%2053.7%2024%22%3E%3Cpolygon%20fill%3D%22'
 + 'rgb(255%2C255%2C255)' + 
'%22%20points%3D%220%2C0%2053.7%2C24%2047.8%2C0%20%22%2F%3E%3C%2Fsvg%3E');
}
{code}
This will also give a parser error "Unexpected token COLON found". But the real 
problem is the string concatenation inside url.

> SCSS highlighting error
> -----------------------
>
>                 Key: NETBEANS-4290
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4290
>             Project: NetBeans
>          Issue Type: Bug
>          Components: web - CSS Preprocessors (SASS, LESS, ...)
>    Affects Versions: 12.0, 11.2
>         Environment: Win10
>            Reporter: Libor
>            Priority: Major
>              Labels: highlighter, sass
>
> Hello,
> for some time (I've been lazy/busy to report) the following code compiles 
> fine, but marks SCSS files in editor as broken.
> Example code:
> {code:css}
> $i: 1;
> .selector
> {
>     &--#{$i}    // <-- Unexpected token HASH_SYMBOL found
>     {
>         ...
>     }
>     &__#{$i}    // <-- Unexpected token IDENT found
>     {
>         ...
>     }
> }
> {code}
> The real problem is, when a file is marked as with errors, compiler does not 
> always detect changes and does not recompile when some of imported files 
> changes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to