Nov. 20, 2009
1:59 a.m.
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project