Link Details

Link 81510 thumbnail
User 168451 avatar

By aalmiray
via explodingpixels.wordpress.com
Published: May 19 2008 / 13:33

Have you ever wanted to embed syntax highlighted code in your app? In the above demo, I wanted to include the code that created the demo in order to help show how to “do-it-yourself”. Rather than switch from the demo to an IDE, I thought it was smoother and more focused to switch views within the actual application. To get the syntax highlighted code, I used the open source jEdit Syntax Package. This package provides a JEditTextArea widget which handles all the details.
  • 16
  • 0
  • 1522
  • 632

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.