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 133350 - CustomFoldManager requires old Syntax/SyntaxSupport
Summary: CustomFoldManager requires old Syntax/SyntaxSupport
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2008-04-20 20:54 UTC by Jan Lahoda
Modified: 2008-04-25 12:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2008-04-20 20:54:40 UTC
It seems to me that CustomFoldManager requires the old Syntax to lex the input text, lexer does not seem to be enough. I
think it should be improved to use lexer whenever available.
Comment 1 Vitezslav Stejskal 2008-04-21 14:13:51 UTC
Yes, we should rewrite it. I think I rewrote it once, but it ended up in the dead codeline on some branch in CVS
(editor_api or syntax something ??). I'll try to dig it out and re-apply to the main.
Comment 2 Vitezslav Stejskal 2008-04-22 10:40:51 UTC
http://hg.netbeans.org/main/rev/c3c8d46c3eb3