[SVN] r8110

Alexander John Ross alex.j.ross at gmail.com
Sun Sep 2 20:33:15 UTC 2007


Improved the robustness of TextMate::IO when operating in line-buffered mode.  It should now ALWAYS return entire lines when sync==false.  Before, if a line took more than two calls to sysread to be fully buffered, only a line fragment would be passed to the block.  Now, we use as many reads as it takes to get the whole line.

Also, added an attr_accessor to TextMate::IO for blocksize.  The default is 4096.

Changed:
U   trunk/Support/lib/io.rb



More information about the textmate-dev mailing list