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 157678

Summary: Code Formating breaks line for the last bracket
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Anton Chechel <manowar>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION, RELNOTE
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 155841    

Description Alexandr Scherbatiy 2009-01-30 16:06:42 UTC
JavaFX_NB_Plugin_Franca_NB_65_fixes_promoted_SDK_installer: JavaFX SDK Promoted Build b05

It is a regression.

Steps to reproduce:

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

Scene {
    content: Text {
        font: Font { size: 24 }
    }
}
--------------------------------------------------

- Format the code
The result is:

--------------------------------------------------
Scene {
    content: Text {
        font: Font { size: 24 
        }
    }
}
--------------------------------------------------
Comment 1 Rastislav Komara 2009-03-02 10:20:17 UTC
reassigning to new owner.
Comment 2 Anton Chechel 2009-03-19 18:25:58 UTC
fixed, old reformat has been disabled
Comment 3 Alexandr Scherbatiy 2009-03-25 10:03:37 UTC
verified in NB JavaFX plugin 1.1.1