newline format unix paste problem

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 1
Joined: Fri Sep 10, 2010 7:25 am

newline format unix paste problem

Post by leniviy »

Hi. When I'm editing a file with unix newline format, if I try to paste to Notepad or command prompt, it pastes as 1 line.
Is there a workaround for this? (Beside temporary switching to DOS format)
I use version 4.4.7

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

leniviy
You can add this command to HotKeys plugin and assign it to Ctrl+C:

Code: Select all

Call("Scripts::Main", 1, "EvalCmd.js", `"var pText=AkelPad.GetSelText(3); if (pText) AkelPad.SetClipboardText(pText);"`)
Post Reply