[Cuis-dev] Replace Pharo newline char on filein

Juan Vuletich juan at jvuletich.org
Mon Jul 29 08:27:33 PDT 2019


On 7/26/2019 6:24 PM, Gastón Caruso via Cuis-dev wrote:
> Hi all! With Facu we've done a changeset to replace all the new line 
> characters used by Pharo by the ones Cuis uses when we perform a File in.
>
> Before:
> image.png
> After:
> image.png
>
> Let us know what do you think!
> Cheers!

Hi Folks,

In general, I don't like tools modifying files without me asking. In 
Cuis lf, cr, and crLf are shown in a clearly distinct way. If the user 
wants to convert a file, the user can select it in the File List, and do 
cmd-a (select all) shift-cmd-u (convert to Cuis line ending) and cmd-s 
(save). I think it is convenient enough, and there's no risk the user 
not knowing the file is being modified.

Besides, isn't it time for Pharo to drop cr as the line ending?  The ony 
mainstream platform using it was MacOS something like 20 years ago...

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190729/b92914e2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 21252 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190729/b92914e2/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 22918 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190729/b92914e2/attachment-0003.png>


More information about the Cuis-dev mailing list