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 183998

Summary: Undo action blocks IDE after the code formatting
Product: editor Reporter: Alexandr Scherbatiy <sunflower>
Component: -- Other --Assignee: issues@editor <issues>
Status: RESOLVED FIXED    
Severity: normal Keywords: PERFORMANCE
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173487, 186194    
Attachments: Thread Dump

Description Alexandr Scherbatiy 2010-04-13 11:59:45 UTC
NetBeans-JavaFX-Soma: #219

  Product Version         = NetBeans IDE Dev (Build 201004120251)
(#35dcf436d9c0)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun
Microsystems Inc.


Steps to reproduce:

- Create Media Box sample (New Project->Samples->JavaFX->Media Box)
- Open the com.sun.javafx.mediabox.Main file
- Format the code
- Press <Ctrl+Z>

The ide is blocked for some time
Comment 1 Alexandr Scherbatiy 2010-04-13 12:10:43 UTC
Created attachment 97174 [details]
Thread Dump
Comment 2 Anton Chechel 2010-04-13 12:23:24 UTC
Mila, this is the issue we have been talking about.
I am able to deactivate our slow lexer during formatting of big amount of code, but I am not able to do it for undo manager.
Comment 3 Miloslav Metelka 2010-05-12 14:39:24 UTC
http://hg.netbeans.org/jet-main/rev/3fc9e777caa9
Comment 4 Quality Engineering 2010-05-14 04:02:15 UTC
Integrated into 'main-golden', will be available in build *201005132200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/
User: 
Log: