[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.tmf] Re: semantic indention as in python

Hi Marco,

This happens because Xtext takes only parts of the editor text to validate. The parser itself receives (mostly) the two lines that are effected and it finds that they are syntactically correct :(

I guess you can insert in document processing actions and modify the change event, but it will be a pretty costly operation. If you are interested checkout eclipse IDocument related stuff.

-- KD