Skip to main content



      Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Reconiling strategy problem in dltk1.0RC1
Reconiling strategy problem in dltk1.0RC1 [message #24437] Thu, 29 May 2008 02:20 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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.
>
Re: Reconiling strategy problem in dltk1.0RC1 [message #24795 is a reply to message #24558] Mon, 02 June 2008 05:37 Go to previous message
Eclipse UserFriend
hi Alex,

The parsing is working fine in 0.95RC2. It reconciles properly.

Thanks for your help.

regards,
Abhijit.
Previous Topic:Ruby build path
Next Topic:RSE plugin integration with dltk
Goto Forum:
  


Current Time: Wed Mar 12 00:37:00 EDT 2025

Powered by FUDForum. Page generated in 0.03073 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top