Page 1 of 1

newline format unix paste problem

Posted: Fri Sep 10, 2010 7:29 am
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

Posted: Fri Sep 10, 2010 12:57 pm
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);"`)