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 178348

Summary: Code formatting shifts default value to the right
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Anton Chechel <manowar>
Status: VERIFIED FIXED    
Severity: normal CC: sustaining
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173487    

Description Alexandr Scherbatiy 2009-12-09 02:58:18 UTC
NetBeans-JavaFX-Soma  #60

  Product Version         = NetBeans IDE 6.8 RC1 (Build 200911252200) (#3c4d4f8d3d55)
  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 some times: 
-------------------------------------
var str = "Simple string";
var raw: nativearray of Byte = str.getBytes();
-------------------------------------

The result is:
-------------------------------------
var str = "Simple string";
var raw: nativearray of Byte                       = str.getBytes();
-------------------------------------
Comment 1 Anton Chechel 2009-12-14 08:56:24 UTC
fixed
http://hg.netbeans.org/javafx/rev/e7673ae7d722
Comment 2 Alexandr Scherbatiy 2009-12-18 03:42:14 UTC
verified in NetBeans-JavaFX-Soma: #69
Comment 3 Petr Suchomel 2010-01-15 03:49:50 UTC
Fixed in release68_fixes
http://hg.netbeans.org/javafx/rev/aea0d0627e58
Comment 4 Alexandr Scherbatiy 2010-01-26 04:22:41 UTC
Verified in NB 6.8 patch1 2010-01-25_21-27-59