[
https://issues.apache.org/jira/browse/NETBEANS-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16631622#comment-16631622
]
Christian Lenz commented on NETBEANS-1314:
------------------------------------------
Sometimes the behaviour is not that NB inserts two ", it will delete the
selected word and replaces it with ".
font-family: myFont;
select myFont and hit ';
font-family: ';
> Surround selected text with quotes
> ----------------------------------
>
> Key: NETBEANS-1314
> URL: https://issues.apache.org/jira/browse/NETBEANS-1314
> Project: NetBeans
> Issue Type: Improvement
> Components: web - CSS Preprocessors (SASS, LESS, ...)
> Affects Versions: Next
> Reporter: Christian Lenz
> Priority: Major
>
> I have this piece of code in my .scss file:
> {code}
> background:
> url(/Public/smth/{version}/tablomat/css/img/preloader/background.png);
> {code}
> because of the \{version\} I have to use "" for this content. When I select
> from / until .png and want to surround it with " I got this output:
> {code}
> background:
> url(""/Public/Tablomat/build/{version}/tablomat/css/img/preloader/background.png);
> // wrong behavior
> background:
> url("/Public/Tablomat/build/{version}/tablomat/css/img/preloader/background.png");
> // expected
> {code}
> The path will not surrounded. Happens here too:
> {code}
> background-color: ""green; // wrong behavior
> background-color: "green"; // expected
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists