CrLfFileStream as default?

Lex Spoon lex at cc.gatech.edu
Thu Sep 24 22:38:04 UTC 1998


If a file has a CRLF pair in it, and CrLfFileStream converts that to a CR, then the idea of "position" gets messed up.  It looks like 1 character, but "file position" will act like 2 characters have gone by.  For CrLfFileStream to go the final mile, it should probably have some code to make positions truly transparent to the user.

Other than that, CrLfFileStream seems very nice.  I've been using it as the default for several months now and found it nothing but convenient.


Lex


"Pennell" <pennell at tiac.net> wrote:
> Dan - thanks for adding this in 2.2.  Is there any reason not to make this
> the default?
> If you don't change the default for 2.2, can you add it as a preference?
> 
> - david





More information about the Squeak-dev mailing list