<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#000000">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.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#000000">Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 27, 2017 at 4:20 PM, Lex Trotman <span dir="ltr"><<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 28 October 2017 at 06:43, Len Philpot <<a href="mailto:lphilpot01@gmail.com">lphilpot01@gmail.com</a>> wrote:<br>
> Is there a way to insert (at line head) and / or append (to line tail)<br>
> arbitrary text strings to a selection? I've used another editor with that<br>
> feature and it's pretty handy. If not, is there a way to pass values to a<br>
> custom format command? I have a shell script that could be invoked, but I<br>
> don't see a way to enter the pre / post text.<br>
><br>
> Maybe I just need to come up with a regex to do it...<br>
<br>
</span>Not sure what you want, if you want to replace a manual selection with<br>
itself plus a pre/apppend text, then I don't think there is such a<br>
capability.<br>
<br>
You can of course use search/replace to do it with a regex so long as<br>
the "selection" (ie the search string) is the same.<br>
<span class=""><br>
><br>
> Thanks.<br>
> --<br>
> Len Philpot<br>
> <a href="mailto:lphilpot01@gmail.com">lphilpot01@gmail.com</a><br>
> Sent from webmail<br>
><br>
</span>> ______________________________<wbr>_________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
> <a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font size="2"><br></font></div><div><b><font size="2">Len Philpot</font></b><br><font size="1"><a href="mailto:lphilpot01@gmail.com" target="_blank">lphilpot01@gmail.com</a><br>Sent from webmail<br></font><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div></div></div></div>
</div>