Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[imp-dev] first parse -- why run() and not schedule()?

Hi,

I have a quick question: The first parse of a program when a new editor is opened seems to be done synchronously, which hangs Eclipse if the parse takes a long time, e.g. because the parse table is generated on demand (hello, Rascal!). Is there any particular reason why UniversalEditor.initiateServiceControllers() does

    fParserScheduler.run(new NullProgressMonitor());

instead of just

    fParserScheduler.schedule();

?

-anya




Back to the top