This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 115718 - add some way how to disable parsing
Summary: add some way how to disable parsing
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: languages (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-17 15:47 UTC by Jan Jancura
Modified: 2008-07-30 10:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Jancura 2007-09-17 15:47:20 UTC
or one of the projects I'm working on I'm trying to develop an IDE for an
in-house domain-specific language.  As a batch compiler already exists for
this language, it seemed like using Schliemann would be a good approach,
delegating the detailed semantic analysis and code generation to the
existing compiler.  For small examples this works well, but unfortunately I
have no control over what files people might want to open within the IDE,
and some of the files can be quite large.  One of them was 25K lines long
(yes, I know...!).  Unfortunately Schiemann seems to do it's parsing in the
main GUI thread, and so the world stops for a few minutes when such a file
is loaded.  So my first question is whether there is any way to disable the
parsing phase, just keeping the syntax highlighting, programmatically?  It
would be a short-term hack, but it would allow me to switch off parsing if
the file being loaded exceeded a certain size, for example.