[squeak-dev] Re: support of various line ends in trunk

Andreas Raab andreas.raab at gmx.de
Fri Nov 20 04:57:23 UTC 2009


Igor Stasenko wrote:
> 2009/11/17 Juan Vuletich <juan at jvuletich.org>:
>> It is all pretty simple to me. I want to see what's in there. I want to
>> control what I do with it. And I don't want "automatic changes". That's all.
>>
> Then you are using wrong tool. Use hex editor instead.

I think there might be a bit of a misunderstanding here. To some extent 
I share Juan's view - I like to be in control about line ends, in fact 
occasionally it's critical that I can determine the line end convention.

However, I have *never* had the need to edit "mixed" line end 
conventions, i.e., CR, LF, or CRLF side-by-side in the same file. And 
that's why I don't feel the need to see the individual CRs or LFs in the 
editor. A setting *on* the editor that tells me "the line ends in this 
file are CR/LF/CRLF" serves the same purpose and with a lot less 
clutter. I can usually just ignore it, and when I have to I can check 
(or change) it.

So from my perspective displaying CR, LF, or CRLF all the same is just 
fine. What's missing (for the purposes where I use Notepad++ or Emacs 
for) is an editor that allows me to see and change the line end 
convention on the file I'm editing. If we'd have an explicit File Editor 
(instead of just a whacky workspace with a file attached to it) it would 
serve my (and probably most other line end conscious users) purposes 
just fine.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list