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 - Code Formating breaks line for the last bracket
Summary: Code Formating breaks line for the last bracket
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Anton Chechel
Depends on:
Blocks: 155841
  Show dependency tree
Reported: 2009-01-30 16:06 UTC by Alexandr Scherbatiy
Modified: 2009-03-25 10:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


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