Disclaimer: This is not a first-resort hoping someone will just write it for me. I've tried a number of things, have had no success whatsover and finally decided to give up and ask here.
That out of the way, what I need is a function similar to (for better reference) Mushclient's 'DeleteLines(#)'. So, a function that would let me select a number of lines (two is perfect, doesn't need to be variable) to delete and allow for whatever replace I need.
Hope it's descriptive enough, and that it can be helped. Thanks in advance to anyone who gives it a shot!
P.S. I am fully prepared for having missed something very simple, or found in the manual somewhere. If this is the case, I apologise and ask that you point me to what it was I overlooked >.>
In need of a function
Re: In need of a function
It's easy to forward-delete lines with:
deleteLine()
tempLineTrigger(1,1,[[deleteLine()]])
Back-delete not so, because deleteLine() doesn't support any parameters yet, unlike it was planned.
deleteLine()
tempLineTrigger(1,1,[[deleteLine()]])
Back-delete not so, because deleteLine() doesn't support any parameters yet, unlike it was planned.
-
- Posts: 2
- Joined: Wed Aug 31, 2011 1:33 am
Re: In need of a function
Ahh, I see. Gotcha. I guess I can work with that.
Thanks for the reply!
Thanks for the reply!
Re: In need of a function
For deleting lines previous to the current one, you can use moveCursor() though:
The above would delete the previous and the current line, for instance.