Jump to content
IGNORED

The Last Word - Saving with different line endings


gozar

Recommended Posts

There isn't, although it's been a requested feature in the past. Not a completely trivial undertaking, since at the moment a file save is simply a buffer write to disk. It may appear in a future version.

 

For now, you could write a macro to global search/replace line endings, save a copy of the file, then convert everything back again.

Link to comment
Share on other sites

If you're using emulation, you could also utilize the line translation "H:" devices.

I want to use it through the PCLink interface.

 

Since I'm sharing a folder in Dropbox, it won't be a problem to convert the file on the other end, but I will need to check out the macro facility.

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

I want to use it through the PCLink interface.

 

Since I'm sharing a folder in Dropbox, it won't be a problem to convert the file on the other end, but I will need to check out the macro facility.

 

 

Sent from my iPhone using Tapatalk

I am doing the save thing with Dropbox what line ending to want to end up with on the Dropbox side CR/LF or just an LF.

 

TLW.zip

 

This is a macro that jfc made for me years ago and also the LW.SYS file that calls the macro while loading program...

  • Like 2
Link to comment
Share on other sites

  • 5 months later...

I am doing the save thing with Dropbox what line ending to want to end up with on the Dropbox side CR/LF or just an LF.

 

attachicon.gifTLW.zip

 

This is a macro that jfc made for me years ago and also the LW.SYS file that calls the macro while loading program...

 

I finally got a chance to try this macro, but I can't get it to work. It asks to convert, and then goes through the file and ends with NOT FOUND.

 

Any ideas?

Link to comment
Share on other sites

 

I finally got a chance to try this macro, but I can't get it to work. It asks to convert, and then goes through the file and ends with NOT FOUND.

 

Any ideas?

 

Oh wait, I think it's because I'm using Unix line endings, which is just a LF, not CR/LF. I fixed the macro and it now works. Sweet!

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...