Filling The Cracks
Sometimes the best way to solve a problem is to make it no longer be a problem. This was the case with a problem that I’d created — and have now fixed — in my version of SyntaxHighlighter.
Sometimes the best way to solve a problem is to make it no longer be a problem. This was the case with a problem that I’d created — and have now fixed — in my version of SyntaxHighlighter.
SyntaxHighlighter now preserves whitespace. Kind of. It’s not pure WYSIWYG, but it’s YCAGWYWBIYTSYJMFYGWYN. It’s good enough that we can stop using Flash to access the clipboard.
In my latest round of updates to SyntaxHighlighter, I’ve removed the dependencies on jQuery that I’d added in previous updates. There are some small improvements, too.
I’ve made some more changes to the SyntaxHighlighter code on this site. You can download the new version as a ZIP file.
For brevity, I’ll only touch on the, err, highlights of the changes here. I’ll describe some of the implementation details in later posts.