Dumping Hack Flash, It’s a Class, Class, Class
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.
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 software engineering, Occam’s Razor has a corollary: When entities are multiplying, find out how they became necessary. An issue in SyntaxHighlighter illustrates this principle.
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.