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 177175

Summary: Expression in 'at' block is not formatted
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-11-19 03:07:42 UTC
Product Version         = NetBeans IDE Dev (Build 200911180645) (#99dcd4880fda)
  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 to the editor:
-----------------------------------------------
import javafx.animation.*;

var blur: Double = 80.0;

Timeline {
    repeatCount: Timeline.INDEFINITE
    keyFrames: [
        at (0s) {   blur         =>   80.0        }
        at (3s) { blur =>          0.0 tween Interpolator.EASEBOTH}
        at (5s) {     blur => 0.0 }
    ]
}
-----------------------------------------------

- Format the code

The code is not formatted.
Comment 1 Anton Chechel 2009-11-25 10:41:00 UTC
fixed
http://hg.netbeans.org/javafx/rev/35d5d2e36e37
Comment 2 Alexandr Scherbatiy 2009-12-11 05:13:01 UTC
verified in NetBeans-JavaFX-Soma:  #62
Comment 3 Petr Suchomel 2010-01-15 03:29:52 UTC
Fixed in release68_fixes
http://hg.netbeans.org/javafx/rev/f7831558514b
Comment 4 Alexandr Scherbatiy 2010-01-26 03:05:46 UTC
Verified in NB 6.8 patch1 2010-01-25_21-27-59