Yes, that's what I meant: Select text, then prepend and/or append arbitrary text at the beginning and/or end of each line in the selection.
Thanks.
On Fri, Oct 27, 2017 at 4:20 PM, Lex Trotman elextr@gmail.com wrote:
On 28 October 2017 at 06:43, Len Philpot lphilpot01@gmail.com wrote:
Is there a way to insert (at line head) and / or append (to line tail) arbitrary text strings to a selection? I've used another editor with that feature and it's pretty handy. If not, is there a way to pass values to a custom format command? I have a shell script that could be invoked, but I don't see a way to enter the pre / post text.
Maybe I just need to come up with a regex to do it...
Not sure what you want, if you want to replace a manual selection with itself plus a pre/apppend text, then I don't think there is such a capability.
You can of course use search/replace to do it with a regex so long as the "selection" (ie the search string) is the same.
Thanks.
Len Philpot lphilpot01@gmail.com Sent from webmail
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users