Otherwise, if you use the constant in your css, it works as expected:
@def CONTENT_HEADER literal("\27A1");
.header:before {
content: CONTENT_HEADER;
}
-- On Tue Nov 25 2014 at 11:56:49 PM Slava Pankov <pankovs@gmail.com> wrote:
:-) That's exactly what I did, but it's not working. In Java code I'm getting it exactly as String with value "\27a1" (length == 5).
On Tuesday, November 25, 2014 1:07:56 PM UTC-8, Julien Dramaix wrote:A space is missing in my previous post:
@def CONTENT_HEADER "\27A1";On Tue Nov 25 2014 at 10:07:49 PM Julien Dramaix <julien....@gmail.com> wrote:literal method is not needed anymore (and is not supported by GSS).
Just try:@def CONTENT_HEADER"\27A1";And yes for syntax highlighting, you need to add .gss as extension of css file.On Tue Nov 25 2014 at 10:03:35 PM Slava Pankov <pan...@gmail.com> wrote:OK, one of my issues is resolved, so answering to myself :-) For *.gss highlighting in Eclipse see attached screenshot.
But still no luck with unicode symbol in @def.--
On Monday, November 24, 2014 8:50:10 PM UTC-8, Slava Pankov wrote:Another problem:
@def CONTENT_HEADER literal("\27A1");
It was unicode character constant before gss, now I'm getting string literal("\27A1") instead of unicode symbol.
On Monday, November 24, 2014 7:26:20 PM UTC-8, Slava Pankov wrote:What about syntax highlighting for *.gss files in Eclipse? *.css where supported by GPE CSS Resource Editor, but it does NOT support *.gss
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/hpb1sz9CPsM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.To post to this group, send email to google-we...@googlegroups.com.--
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/hpb1sz9CPsM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment