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.
Summary: | Code formatting shifts brace to the left | ||
---|---|---|---|
Product: | javafx | Reporter: | Alexandr Scherbatiy <sunflower> |
Component: | Editor | Assignee: | Anton Chechel <manowar> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 173487 |
Description
Alexandr Scherbatiy
2009-11-18 02:37:56 UTC
Works for me. Product Version: NetBeans Platform Dev (Build 091113-975c8f5fea8c) Java: 1.6.0_12; Java HotSpot(TM) Server VM 11.2-b01 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU Userdir: C:\Projects\NetBeans\trunk\javafx\build\testuserdir The issue is still reproduced in NetBeans-JavaFX-Soma: #62 Just copy the code to the editor and format it several times. Product Version: NetBeans Platform Dev (Build 091113-975c8f5fea8c) Java: 1.6.0_12; Java HotSpot(TM) Server VM 11.2-b01 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU Userdir: C:\Projects\NetBeans\trunk\javafx\build\testuserdir Works for me. Even for few times of reformatting. I see that the issue is reproduced if a file contains comments and a package statement: ------------------------------------------------------------ /* * Main.fx * * Created on Dec 17, 2009, 1:26:50 PM */ package javafxapplication10; var action: function(); function run() { } ------------------------------------------------------------ In this case the bracket is shifted to the right. After removing the comments the all works fine. verified in NetBeans-JavaFX-Soma: #140 |