symphonytool / symphony

The Symphony IDE
5 stars 4 forks source link

is subclass responsibility is not highlighted #208

Closed pglvdm closed 10 years ago

joey-coleman commented 10 years ago

Minimal example — the "is", "responsibility", and "end" keywords are not highlighted (and should be :)

class Device = begin
operations
  op : () ==> ()
  op() == is subclass responsibility
end
lausdahl commented 10 years ago

It seems like the keyword has been commented out:

https://github.com/symphonytool/symphony/blob/development/ide/ui/src/main/java/eu/compassresearch/ide/ui/editor/syntax/CmlKeywords.java

it is only the 'reservedwords' that are highlighted.

The problem with 'end' seems to be related to EOF because it always highlights when a space is added

lausdahl commented 10 years ago

fixed this in overture: overturetool/overture@ff4347371cb56ea754de98704a0a546d0f23866e