JavaFX Brush for Syntax Highlighter

| 3 Comments | No TrackBacks
In anticipation of the JavaFX SDK preview release, I have whipped up a very primitive JavaFX Script brush for Syntax Highlighter. Adding the brush is easy, so I will not bore you with boilerplate. Include the brush, set your code class to "jfx", and you get nicely highlighted JavaFX Script code on your blog!

Download the brush here: http://coffeejolts.com/downloads/shBrushJavaFX.js

Here is a sample from James Weaver's blog, highlighted using my brush:

No TrackBacks

TrackBack URL: http://www.coffeejolts.com/cgi-bin/mt4/mt-tb.cgi/97

3 Comments

I uploaded the javascript file shBrushJavaFX.js to
silveiraneto.net/wp-content/plugins/google-syntax-highlighter/Scripts/
and used class="jfx" in this post
http://silveiraneto.net/2008/07/28/javafx-handling-events-with-overlapping-elements/
but it doesn't worked. :(

I checked your page. You need to add an import for the brush to your footer.

Thanks. I'm already using your brush.
Great job.

Leave a comment

About this Entry

This page contains a single entry by Coffeejolts published on July 28, 2008 9:27 AM.

Java Media - Little By Little was the previous entry in this blog.

An 'improved' JavaFX MediaView class is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.31-en