+1
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Stéphane Ducasse Sent: Thursday, November 19, 2009 8:59 PM To: [email protected] Subject: Re: [Pharo-project] About end of line convention Yes! Stef > 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 _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
