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 - Trigger is not properly formatted
Summary: Trigger is not properly formatted
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks: 173487
  Show dependency tree
 
Reported: 2010-05-12 09:27 UTC by Alexandr Scherbatiy
Modified: 2010-05-13 09:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
JavaFX File (358 bytes, application/octet-stream)
2010-05-12 09:27 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
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