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.
The following is valid JavaFX css fragment: .hyperlink{ -fx-text-overrun: leading-word-ellipsis; } NetBeans suggests to replace this line with the following which is not correct -fx-text-overrun: leading-word-ellipses; Actually a following exception is thrown when the latter word is used: java.lang.IllegalArgumentException: No enum constant javafx.scene.control.OverrunStyle.leading_word_ellipses at java.lang.Enum.valueOf(Enum.java:238) at com.sun.javafx.css.converters.EnumConverter.convert(EnumConverter.java:71) at com.sun.javafx.css.converters.EnumConverter.convert(EnumConverter.java:47) at javafx.scene.CssStyleHelper.calculateValue(CssStyleHelper.java:1435) at javafx.scene.CssStyleHelper.lookup(CssStyleHelper.java:1020) at javafx.scene.CssStyleHelper.transitionToState(CssStyleHelper.java:695) at javafx.scene.Node.impl_processCSS(Node.java:8882) at javafx.scene.Parent.impl_processCSS(Parent.java:1237) at javafx.scene.control.Control.impl_processCSS(Control.java:872) at javafx.scene.Parent.impl_processCSS(Parent.java:1268) ... Looks like there was some confusion as I was able to find JavaFX 1.3 CSS documentation which was using "ellipsis" word instead of "ellipses". However, JavaFX 8 seems to be using "ellipses" for all the values of -fx-text-overrun property. Please refer to http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html#labeled
Please read the sentence above as following: However, JavaFX 8 seems to be using "ellipsis" for all the values of -fx-text-overrun property.
Crap! Once again: Looks like there was some confusion as I was able to find JavaFX 1.3 CSS documentation which was using "ellipses" word instead of "ellipsis". However, JavaFX 8 seems to be using "ellipsis" for all the values of -fx-text-overrun property.
I'd like to NetFIX [1] this bug. Is it possible? [1] http://wiki.netbeans.org/NetFIX
Created attachment 152552 [details] Patch containing fix Replaced incorrect word 'ellipses' with 'ellipsis'.
Applied as jet-main#2e8899ae063e. Thanks !
Integrated into 'main-silver', will be available in build *201503200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2e8899ae063e User: Svata Dedic <sdedic@netbeans.org> Log: #239093: spelling corrected
Product Version: NetBeans IDE Dev (Build 1) Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25 Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25 System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb) Verified. Thanks for the patch Anirvan and thanks Svata for review and integration!