B4J Question Code Prettify my TextArea

Mashiane

Expert
Licensed User
Longtime User
Hi there

I'd like to use the prettify css and js in my app to make source code pretty. I'd like to pass this to a textarea via css etc. I have tried to add the css file to my Files however it depends on js (javascript) file(s) to work.

I have attached here my small project. I'm getting an error

Oct 06, 2016 3:41:06 PM com.sun.javafx.css.parser.CSSParser declaration
WARNING: CSS Error parsing jar:file:/C:/Users/Mash/Desktop/Prettify/Objects/Mashy.jar!/Files/prettify.css: expected series of <size> while parsing 'border' at [53,40]

The file itself references the js files
 

Attachments

  • Mashy.zip
    139.6 KB · Views: 172
Top