[TxMt] TextMate.system() (in the HTML output window) max data size?

Allan Odgaard throw-away-2 at macromates.com
Wed Dec 12 10:56:39 UTC 2007

On 12 Dec 2007, at 11:46, Hans-Joerg Bibiko wrote:

> function output (str) {
> 	document.getElementById("main").innerHTML = "<pre><span style='font- 
> size:9pt'>" + str + "</span></pre>";
> }
> [...]
> Is there something wrong with my code? I cannot see the point.

The output function is called when there is output, so it will be  
called multiple times (at least FILE_SIZE / PAGE_SIZE (8 KB) times) --  
since your function overwrites the existing innerHTML, you will only  
see the result of the last call.

More information about the textmate mailing list