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 156685 - Code Format: breaks line between attribute and 'for' statement
Summary: Code Format: breaks line between attribute and 'for' statement
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks: 155841
  Show dependency tree
 
Reported: 2009-01-13 14:18 UTC by Alexandr Scherbatiy
Modified: 2009-01-21 11:08 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 Alexandr Scherbatiy 2009-01-13 14:18:49 UTC
JavaFX_NB_Plugin_Franca_NB_65_fixes_latest_SDK: #41 	13-Jan-2009 00:11:09
  Product Version         = NetBeans IDE 6.5 (Build 200901071801)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16; Sun Microsystems Inc.

Steps to reproduce:

- Copy the code to the editor:
------------------------------------------------
import javafx.scene.Group;
import javafx.scene.text.Text;

var animals = ["cat", "dog"];

Group{
    content: for(animal in animals)
        Text{
            content: animal
        }
}
------------------------------------------------
- Format code
The result is 
------------------------------------------------
Group{
    content: 
    for(animal in animals)
    Text{
        content: animal
    }
}
------------------------------------------------
Comment 1 David Strupl 2009-01-13 14:27:22 UTC
reformat --> Rasta.
Comment 2 Rastislav Komara 2009-01-20 12:56:56 UTC
Fixed as special case.
Comment 3 Alexandr Scherbatiy 2009-01-21 11:08:52 UTC
verified in JavaFX_NB_Plugin_Franca_NB_65_fixes_cont:  #50 20-Jan-2009 18:00:14