Exactly! +100 FWIW, this us the behaviour of Textpad, my favourite Windoze text editor.
-- Cheers, Peter. On 20 nov 2009, at 01.49, Martin McClure <[email protected]> wrote: > IMO, a useful behavior for a text file editor is to: > > * On open, detect the line end convention of the file and remember it. > This is not too hard to do as long as the file is in fact a text file > (if it's a binary file you shouldn't be using a text editor on it). > > * On save, save in the same line end convention that the file > previously > had. > > * On "save as" provide the opportunity to change the line end > convention > as well as the file name. > > * New files should default to the platform's line end convention, but > again be overridable on save. > > Regards, > > -Martin > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
