On 2017-10-27 02:34 PM, Len Philpot wrote:
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.


You mean like SublimeText's multiple cursor insertion thing?

Regards,
Matthew Brush


On Fri, Oct 27, 2017 at 4:20 PM, Lex Trotman <[email protected]> wrote:

On 28 October 2017 at 06:43, Len Philpot <[email protected]> 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
[email protected]
Sent from webmail

_______________________________________________
Users mailing list
[email protected]
https://lists.geany.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
https://lists.geany.org/cgi-bin/mailman/listinfo/users






_______________________________________________
Users mailing list
[email protected]
https://lists.geany.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
https://lists.geany.org/cgi-bin/mailman/listinfo/users

Reply via email to