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 186070 - 'at' item has typo at the end
Summary: 'at' item has typo at the end
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Karol Harezlak
URL:
Keywords:
Depends on:
Blocks: 178578
  Show dependency tree
 
Reported: 2010-05-13 09:40 UTC by Alexandr Scherbatiy
Modified: 2010-05-17 08:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Editor screenshot (29.64 KB, image/png)
2010-05-13 11:36 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-05-13 09:40:32 UTC
Steps to reproduce:

- Drag and drop the 'at' item from the Animation category to the editor:

------------------------------------------------
import javafx.animation.Timeline;
import javafx.animation.Interpolator;

var v = 10.0;

Timeline {
	repeatCount: Timeline.INDEFINITE
	keyFrames: [
		at (5s) { v => 100.0 tween Interpolator.LINEAR }
at (5s) {v => 20.0 tween Interpolator.LINEAR}
a             // <-- Typo
	];
}
------------------------------------------------

The is the 'a' symbol at the end of the template

\Main.fx:18: cannot find symbol
symbol  : variable a
location: class javafxapplication2.Main
a
1 error
Comment 1 Alexandr Scherbatiy 2010-05-13 09:42:51 UTC
build netbeans-trunk-nightly-201005122200-javafx-full-windows.exe
Comment 2 Karol Harezlak 2010-05-13 11:30:19 UTC
Could not reproduce it, I slightly changed snippet. Should be fine now.
Comment 3 Alexandr Scherbatiy 2010-05-13 11:33:22 UTC
The problem is not in the Timeline item.
The problem is in the 'at' item:

--------------------------------------------------
at (5s) {value => 20.0 tween Interpolator.LINEAR}
a
--------------------------------------------------
Comment 4 Alexandr Scherbatiy 2010-05-13 11:36:11 UTC
Created attachment 98927 [details]
Editor screenshot
Comment 5 Karol Harezlak 2010-05-13 12:06:56 UTC
Now I can reproduce it, it looks like in same cases at the end of the snippet random letter is added, anyway should be fine now,

fixed,

http://hg.netbeans.org/javafx/rev/a04e677d3bd8
Comment 6 Alexandr Scherbatiy 2010-05-17 08:25:55 UTC
verified in NetBeans-JavaFX-Soma: #253