Reconiling strategy problem in dltk1.0RC1 [message #24437] |
Thu, 29 May 2008 02:20  |
Eclipse User |
|
|
|
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.
|
|
|
Re: Reconiling strategy problem in dltk1.0RC1 [message #24558 is a reply to message #24437] |
Thu, 29 May 2008 08:54   |
Eclipse User |
|
|
|
Hi Abhijit,
There are some fixes related to script reparsing included in the RC2 (to
be available later today).
Could you please check if it works for you?
Parsing occurs always on save and dirty document in the editor is
periodically parsed by ScriptReconciler.
regargs,
Alex
Abhijit N Ghonge wrote:
> 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.
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.26130 seconds