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 64080 - Editing comment in big file is slow
Summary: Editing comment in big file is slow
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-09-12 08:21 UTC by zikmund
Modified: 2005-11-18 09:25 UTC (History)
1 user (show)

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 zikmund 2005-09-12 08:21:56 UTC
Build 200509112000

1) Open a big XML file (~1MB)
2) Add a comment to the beginning of file (<!-- -->)
3) Edit text inside comment
4) ERROR:
it is very slow ... each key stroke takes several seconds

Note: editing text of comment at the end of file is faster, although not as fast
as editing text outside of the comment.
Comment 1 Marek Fukala 2005-09-19 09:19:05 UTC
fixed

Checking in src/org/netbeans/modules/xml/text/syntax/XMLSyntaxSupport.java;
/cvs/xml/text-edit/src/org/netbeans/modules/xml/text/syntax/XMLSyntaxSupport.java,v
 <--  XMLSyntaxSupport.java
new revision: 1.24; previous revision: 1.23
done
Comment 2 zikmund 2005-11-18 09:25:02 UTC
Verified in 200511171900.