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 178998 - Semicolons are shifted right after code formating
Summary: Semicolons are shifted right after code formating
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:
Depends on:
Blocks: 173487
  Show dependency tree
 
Reported: 2009-12-23 02:39 UTC by Alexandr Scherbatiy
Modified: 2010-02-04 03:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Main JavaFX file (2.12 KB, text/plain)
2009-12-23 02:40 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-12-23 02:39:10 UTC
NetBeans-JavaFX-Soma:  #74

  Product Version         = NetBeans IDE 6.8 (Build 200912041610) (#ec9be6a6486c)
  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 attached code to the editor
- Format the code some times

The semicolons are shifted right:
----------------------------------------------------------
function draw() {
    //var count: Integer = 0;
    //var triangle: Triangle = new Triangle();
    var x1      ;
    var y1      ;
    var x2      ;  // <- Shifted semicolons 
    var y2      ;
    var x3      ;
    var y3      ;
----------------------------------------------------------
Comment 1 Alexandr Scherbatiy 2009-12-23 02:40:10 UTC
Created attachment 92880 [details]
Main JavaFX file
Comment 2 Anton Chechel 2010-01-26 07:21:42 UTC
Compiler bug has been created: http://javafx-jira.kenai.com/browse/JFXC-4023
Comment 3 Anton Chechel 2010-02-03 07:02:44 UTC
fixed in compiler
Comment 4 Alexandr Scherbatiy 2010-02-04 03:06:51 UTC
verified in NetBeans-JavaFX-Soma:  #142