There seems to be a bug in the HTML display window of TextMate.
1. Save the following Java code as test.java (the misspelling of "String" is intentional):
class test { private java.util.LinkedList<Strin> blah; }
2. Open the file and hit Command-B to build
On my TextMate, I see a line that looks like this:
private java.util.LinkedList<Strin> blah;
It looks like TextMate is properly escaping the greater-than character but forgot about the less-than character. Is there a way to fix this on my end, or do I have to wait until the next bug-fix release of TextMate?
Trevor
On 3/5/2006, at 2:03, Trevor Harmon wrote:
There seems to be a bug in the HTML display window of TextMate. [...]
I fixed it.
[...] Is there a way to fix this on my end, or do I have to wait until the next bug-fix release of TextMate?
Depends on how tech-savvy a user you are. The problem is with TextMate.app/Contents/SharedSupport/Support/lib/tm_parser.rb -- open that file, and change the order of the two gsub’s in the HTML escape function.