Hi,
As always, I'm loving AkelPad!
I'm just wondering if anyone has written a custom script for the Scripts plugin that removes trailing line numbers from copy and pasted code?
Cheers!
Scripts plugin: Is there a script that removes line numbers?
- Author
- Message
-
Offline
- Posts: 11
- Joined: Tue Jan 20, 2009 9:15 am
-
Offline
- Posts: 1862
- Joined: Mon Aug 06, 2007 1:07 pm
- Contact:
djray
Something like?
P.S. Example: https://developer.mozilla.org/en/Code_s ... le_windows (JavaScript should be enabled).
Something like
Code: Select all
AkelPad.ReplaceSel(
AkelPad.GetSelText()
.replace(/^\d+[ \t]/mg, "")
);
P.S. Example: https://developer.mozilla.org/en/Code_s ... le_windows (JavaScript should be enabled).