Presentation based on Model [message #35026] |
Sat, 29 November 2008 19:49 |
Christoph Höger Messages: 40 Registered: July 2009 |
Member |
|
|
Hi folks,
I am developing an eclipse plugin for language that shares a lot of
conecepts with java/c++.
I have a parser that generates me an AST (and hopefully I'll get a
derived, flattened model soon).
Using the standard techniques from several tutorials I kind of wrote my
parser again to highlight things like keywords, comments and strings. That
is double work, but ok, if it's the way it shall be done...
But when I use the java editor I saw identifiers being drawn special
(italic and dark blue) when they're correct. But how is that done? A
presentation reconciler cannot use the model as thats reconciled _after_
the user has modified the document. So there must be a way to redraw
things based on model reconciling but how?
regards
christoph
|
|
|
Powered by
FUDForum. Page generated in 0.03327 seconds