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 185982

Summary: Trigger is not properly formatted
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Anton Chechel <manowar>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173487    
Attachments: JavaFX File

Description Alexandr Scherbatiy 2010-05-12 09:27:11 UTC
Steps to reproduce:

- Format the attached code
The result is:
--------------------------------------------------
class Foo {

    var seq: String[] on replace oldSlice[a..b] =  
        newSlice  
    


    
    


  {

        
        for (s in seq   
            [a
        
        
        
    

        
        
        
    
..b]){ println(s) } };
}


class A{
    public var seq:Number[] on replace  oldValue2[lo1..hi1] = newVals3{
        for(index in [hi1..lo1 step -1]){
            println(seq[index]);
        }

        println(oldValue2);
        println(newVals3);
    }
}
--------------------------------------------------
Comment 1 Alexandr Scherbatiy 2010-05-12 09:27:48 UTC
Created attachment 98827 [details]
JavaFX File
Comment 2 Alexandr Scherbatiy 2010-05-12 09:29:12 UTC
Seems to be the regression from the issue 177090
Comment 3 Anton Chechel 2010-05-12 11:33:08 UTC
fixed
http://hg.netbeans.org/javafx/rev/1128c7013dc4
Comment 4 Alexandr Scherbatiy 2010-05-13 09:47:09 UTC
verified in netbeans-trunk-nightly-201005122200-javafx-full-windows.exe