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

Juan Vuletich juan at jvuletich.org
Tue Nov 17 17:32:52 UTC 2009


Jimmie Houchin wrote:
> On 11/17/2009 5:15 AM, Juan Vuletich wrote:
>>
>> There simply should not be any import-edit-export cycle at all. The 
>> purpose of an editor is to show the user the characters that comprise 
>> the String being edited, and allow him to add / remove characters at 
>> will. This is so obvious that I feel silly saying it. Why would some 
>> characters be silently messed by the system? I see no reason. It is 
>> like the horrible "ASCII mode" in FTP, that breaks every file it 
>> downloads.
>
> Simple questions below. I do not necessarily know the answers.
>
> If I open up a Workspace and begin editing, whether Squeak or Cuis, by 
> default what kind of line endings do I get?

Cr.

> Will I ever in editing newly created Squeak text/strings by default 
> ever have multiple different line-endings?

No, if the only way you modify them is an editor.

> If I ever have text in Squeak which has multiple line-endings, where 
> did it come from?
> A file? Regardless of whether that file is on disk or in a stream via 
> network.

Yes. Or some code that built it. Perhaps clipboard? Not sure.

Cheers,
Juan Vuletich



More information about the Squeak-dev mailing list