[OT ish] Visual Code Editor and Line Endings

Ralph DiMola rdimola at evergreeninfo.net
Tue Jul 11 12:16:31 EDT 2023


Bob,

Know what you mean. Another program that's been running for years failed last week because MS changed the behavior of Excel in 365. Customer received the very useful error "Run-time error '1004' Unable to update the FreezePanes property of the windows class".

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode
Sent: Monday, July 10, 2023 4:09 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: [OT ish] Visual Code Editor and Line Endings

Code is not the only editor to “assume” you want to change out all the line endings. Microsoft has been doing this for years. Just OPENING a file where the platform defaults differ from the document results in Microsoft Word altering the file, despite a user closing without saving. 

It is in my opinion a serious violation of trust on Microsoft’s part. Who made them the gods of data formatting that they think they can take this license with files that do not belong to them? 

Toshiba has an address book export function with line endings of a certain kind. If I open them in Word for Windows, edit the file and save it, everything works fine. If I just open the file on Word for MacOS it will “corrupt” the file, and I do mean corrupt! The file will become unusable even if it is not edited or saved. 

One of a hundred things that upset me about Microsoft. 

Bob S

> On Jul 10, 2023, at 9:25 AM, Ralph DiMola via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Beware!
> 
> 
> 
> I moved from Atom to Code 6-9 months ago. Didn't look back until yesterday.
> 
> Code does not support CR line endings. I received a text file that was 
> output from InDesign(latest version). I made a minor change in the 
> text file. I processed it with a program that had been around for 
> years. I sent the processed file to the customer and results were 
> disastrous. Unknown to me all the LFs in the file were changed without warning to line endings.
> Apparently VC only has 2 line ending options LF and CRLF but not CR.
> Apparently I'm not the first to get bitten by this. An enhancement 
> request to support CR line endings has been around for 5 years and not addressed.
> Seem like a simple fix, but what do I know about VC's internals.
> 
> 
> 
> Hope this prevents one of you from getting bitten..
> 
> 
> 
> Ralph DiMola
> 
> IT Director
> 
> Evergreen Information Services
> 
> rdimola at evergreeninfo.net
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list