[Geany-Users] Prepend / append text?
Len Philpot
lphilpot01 at xxxxx
Fri Oct 27 21:34:50 UTC 2017
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 at gmail.com> wrote:
> On 28 October 2017 at 06:43, Len Philpot <lphilpot01 at 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 at gmail.com
> > Sent from webmail
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.geany.org
> > https://lists.geany.org/cgi-bin/mailman/listinfo/users
> >
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
--
*Len Philpot*
lphilpot01 at gmail.com
Sent from webmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/users/attachments/20171027/2f2cca2c/attachment-0001.html>
More information about the Users
mailing list