Text Above and Bellow Selected Lines
by blueray from LinuxQuestions.org on (#4ZSBZ)
I am using Geany.
These is a option Edit > Format > Send Selected To > Set Custom Commands
Here, for example if I want to sort selected text, I just use sort command.
What I want this (Set Custom Commands) to do is put "...." above and bellow my selected line/s.
For Example if I select the following lines,
Code:touch sample_file.txt
ls
rm sample_file.txt
lsThen go to Edit > Format > Send Selected To > MyCommand
I am expecting to get
Code:....
touch sample_file.txt
ls
rm sample_file.txt
ls
....Is there any way I can achieve this?


These is a option Edit > Format > Send Selected To > Set Custom Commands
Here, for example if I want to sort selected text, I just use sort command.
What I want this (Set Custom Commands) to do is put "...." above and bellow my selected line/s.
For Example if I select the following lines,
Code:touch sample_file.txt
ls
rm sample_file.txt
lsThen go to Edit > Format > Send Selected To > MyCommand
I am expecting to get
Code:....
touch sample_file.txt
ls
rm sample_file.txt
ls
....Is there any way I can achieve this?