|Problem with CSS: Interface expected [message #1693854]
||Tue, 28 April 2015 19:10
| Mateusz Wegrzynkiewicz
Registered: April 2015
I have recently installed e(fx)clipse and everything seems to be ok, but I keep getting an error when trying to write a CSS code in e(fx)clipse CSS Editor:
Syntax error on token ".", interface expected
It happens when I use "." to indicate class selector, like:
-fx-font-family: "Courier New";
-fx-base: rgb(132, 145, 47);
-fx-background: rgb(225, 228, 203);
If I leave the dot before the selector, error looks like that:
Syntax error on token "root", interface expected before this token
I have no idea what's going on. Normal CSS works, autocomplete in e(fx)clipse works as well. The only thing is this strange syntax error.
Eclipse Luna 4.4.2.M20150204-1700
Windows 7 64-bit
e(fx)clipse IDE 126.96.36.199501301049
Any help would be highly appreciated!
Edit: I've discovered, that the problem is related to projects created with the e(fx)clipse tool in this way: New -> Other -> JavaFX Project. When I edit CSS files in e.g. Web Projects, everything works fine, even with the e(fx)clipse CSS editor. It's probably some kind of Content Type error, but I'm just guessing.
[Updated on: Wed, 29 April 2015 16:50]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02714 seconds