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

Summary: Code formatting breaks line for the expression in string
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Anton Chechel <manowar>
Status: VERIFIED FIXED    
Severity: normal CC: digipixel
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173487    

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