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 180145 - Code formatting shifts default value to the right
Summary: Code formatting shifts default value to the right
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-02-02 05:46 UTC by Alexandr Scherbatiy
Modified: 2010-02-03 04:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
JavaFX Main file (801 bytes, application/octet-stream)
2010-02-02 05:47 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-02-02 05:46:41 UTC
NetBeans-JavaFX-Soma: #140

  Product Version         = NetBeans IDE Dev (Build 201001280200)
(#eeef33500a1a)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun
Microsystems Inc.


Steps to reproduce:

- Copy the code from attached file to the editor
- Format the code some times
The result is:

-----------------------------------------------------------------
public class MyText extends Text {

    override var content                   = "Hello World!";
    override var cursor                   = Cursor.MOVE;

    override var onMousePressed       = function (e: MouseEvent): Void {
        }

    override var onMouseDragged       = function (e: MouseEvent): Void {
      }

-----------------------------------------------------------------
Comment 1 Alexandr Scherbatiy 2010-02-02 05:47:07 UTC
Created attachment 93758 [details]
JavaFX Main file
Comment 2 Anton Chechel 2010-02-02 08:45:02 UTC
fixed
http://hg.netbeans.org/javafx/rev/cd48dd9bf2f2
Comment 3 Alexandr Scherbatiy 2010-02-03 04:25:25 UTC
verified in NetBeans-JavaFX-Soma: #140