[squeak-dev] Re: support of various line ends in trunk
Andreas Raab
andreas.raab at gmx.de
Fri Nov 20 06:56:53 UTC 2009
K. K. Subramaniam wrote:
> On Friday 20 November 2009 10:27:23 am Andreas Raab wrote:
>> 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.
> line-ending conventions can be detected easily when loading a text file into a
> Workspace. Why not convert on the fly editing/viewing and restore it while
> saving?
Sure that would work fine. My point was slightly different: It was
mostly that you really only need to see and input individual line end
characters if you need to be able to edit them side-by-side which (I
think) is rare. As a consequence, as long as one can see and edit the
current settings on the entire text (for example via context menu or in
a "Save As..." dialog), the question of whether to display line ends or
not is irrelevant, even for situations where you care about which line
end convention is being used.
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|