> 
> The way how CIUS solves this shown at screenshot.
> 
> My humble question:
> if i created a text file, what you think is more important to me:
>  - being able to clearly read the text
>  - or being able to see all control characters which may differ from
> OS to OS???

sorry but you are wrong.
I saw how this is done in CUIS and if you want to see the end line character
you can see them, else not. 
I'm often burned with not having that and I think that his solution is cool.

> My line of argumentation is, that text editor should serve for editing
> a text, but not some sort of binary-mode editing
> where text is a mix of usual symbols and non-human stuff, which having
> meaning only to computer.

No 

> If i would want to see a binary contents of file, i use hex dump
> display/edit, but not text editor.
> (see another attachment)

No 

> Use right tool for things you do. By making a single tool for serving
> everything - as result you getting a horrific & complex monster
> without any means how to manage it and improve.

No 

> 
>> He told me that in the squeak world people were pushing that the end of line 
>> is controlled by the platform.
> 
> This is not correct.
> I am pushing the idea, that text editor should serve to edit and
> display text, and don't care about preserving or dealing with
> different line-end conventions.

Then you did not got burn enough by moving files between OSes
I regularly spent time with tr on unix just to clean such kind of things.

> Instead, import should deal with
> normalizing the input to a form, edigible by editor, and then export
> layer (file-out or whatever) may be instructed to save edited file
> using one or other line-ends, but editor should use own convention(s)
> and free to choose own ways how internally store the edited text.
> 
>> My point of view on this is :
>>        - when I manipulate the text object may be we should have the 
>> platform convention.
>>        - when I edit a file I should get the control because I may want to 
>> edit a file on mac with unix convention.
>> 
>> So nicolas I saw that you pushed a slice about fixing end of line.
>> What is the design behind it?
>> 
> 
> Stef, you can always read a full discussion about it on squeak-dev archives.
> http://n4.nabble.com/support-of-various-line-ends-in-trunk-td622338.html#a622338

No time for that now.

> 
>> Stef
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> 
> 
> 
> 
> -- 
> Best regards,
> Igor Stasenko AKA sig.
> <text.txt><cuis-editor.png><hexdump.png>_______________________________________________
> 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

Reply via email to