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 183894 - Code formatting breaks line for the expression in string
Summary: Code formatting breaks line for the expression in string
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Anton Chechel
URL:
Keywords:
: 184896 (view as bug list)
Depends on:
Blocks: 173487
  Show dependency tree
 
Reported: 2010-04-12 11:39 UTC by Alexandr Scherbatiy
Modified: 2010-05-12 12:44 UTC (History)
1 user (show)

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 2010-04-12 11:39:47 UTC
NetBeans-JavaFX-Soma:  #217

  Product Version         = NetBeans IDE Dev (Build 201004110201)
(#ca66f5e3f93f)
  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:

- Format the code:
-----------------------------------------------
public class GSimpleEdge  {

    var vertex1:Integer;
    var vertex2:Integer;

    override function toString() {
        "Edge {vertex1}, {vertex2}"
    }

}
-----------------------------------------------

The result is:
-----------------------------------------------
    override function toString() {
        "Edge {vertex1    

}, {vertex2}"
    }
-----------------------------------------------
Comment 1 Anton Chechel 2010-04-22 16:21:39 UTC
fixed
http://hg.netbeans.org/javafx/rev/d9f2b67e315d
Comment 2 Anton Chechel 2010-04-24 09:18:45 UTC
*** Bug 184896 has been marked as a duplicate of this bug. ***
Comment 3 Alexandr Scherbatiy 2010-05-12 12:44:30 UTC
verified in netbeans-trunk-nightly-201005112200-javafx-full-windows.exe