Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:20 Go to next message
Abhijit is currently offline AbhijitFriend
Messages: 18
Registered: July 2009
Junior Member
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 12:54 Go to previous messageGo to next message
Alex Panchenko is currently offline Alex PanchenkoFriend
Messages: 342
Registered: July 2009
Senior Member
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 09:37 Go to previous message
Abhijit is currently offline AbhijitFriend
Messages: 18
Registered: July 2009
Junior Member
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: Fri Apr 12 18:40:11 GMT 2024

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

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

Back to the top