[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.dltk] Reconiling strategy problem in dltk1.0RC1

hi all,

We have developed an editor for our custom scripts on dltk1.0RC1 + eclipse3.4M7.

When I open any script in editor for the first time and make changes (say add few statements to the script), parsing of script doesn't take place.

However, when i save the script, and then keep on adding few statements to script, the parsing happens periodically.

We observed that DocumentAdaptor has a method documentChanged() which is fired if the script is changed. The reconiler checks the state of script if it is inconsistent with its previous state periodically. But as explained above, for the first time if I add few lines to script, the method documentChanged() is not fired. In turn, script state remains consistent and parsing doesnot happen.

We want that whenever I make changes to script the parsing should happen periodically and syntax errors therein should be displayed in problems view.

Please Help.

regards,
Abhijit.