Archive for March, 2005

03.29.05

Syntax Highlighting the Javascript Shell

Posted in Uncategorized at 6:24 pm by UnwashedMeme

Jesse Ruderman originally wrote it. Ted Mielczarek included and improved it in the Extension Developer Extension. I bastardized it with The Dark Shell, but have redeemed myself by actually improving upon it this time.

It now has syntax highlighting (using http://www.dreamprojections.com/syntaxhighlighter/) and multiline input. You can play with it here. I’ve also repackaged the extension with the new shell in it– I don’t have the server configured to serve the correct mime type so you will probably have to save it, then drag it into Firefox to install. My plan is to play around with it for a few days make sure I don’t have any bugs left in it and then send it back to Ted to see if he wants to include it officially.

Static Syntax Highlighter

Posted in Uncategorized at 5:53 pm by UnwashedMeme

Ryan found a syntax highlighter to use on his blog not to long ago. However his complaint was that all he wanted was some static html to paste in. Instead their highlighter has you put the code in a textbox, then run some javascript on the page that replaces it with a highlighted version. So I made my Static Syntax Highlighter that allows you to enter in some code, select a language { CSharp, Delphi, Javascript, PHP, Python, SQL, VB, XML} and it will give you the highlighted code as html.