This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Syntax highlighting of Scala keywords in XML literals

2 replies
Niels Hoogeveen
Joined: 2010-02-08,
User offline. Last seen 42 years 45 weeks ago.

I am not sure this is a known issue.

In the Scala plugin for eclipse, Scala keywords are being highlighted when
used as tag names in XML literals.

val example =

Shows "val" highlighted as expected, but both occurances of "object" are
being highlighted too.

Niels Hoogeveen
Joined: 2010-02-08,
User offline. Last seen 42 years 45 weeks ago.
Re: Syntax highlighting of Scala keywords in XML literals
I see Nabble, doesn't correctly display tags.

This was the very brief example I intended to present

val example = <object></object>

As said before "val" gets highlighted as expected, but the two occurances of "object" too.
View this message in context: Re: Syntax highlighting of Scala keywords in XML literals
Sent from the Scala - Tools mailing list archive at Nabble.com.
milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Syntax highlighting of Scala keywords in XML literals

On Sat, Mar 6, 2010 at 9:24 PM, Niels Hoogeveen
wrote:
> I am not sure this is a known issue.

Yes, it is a known issue.

Cheers,

Miles

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland