<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thank'you very much!<br>It works well... I didn't think of looking through plugins<br><br>Cheers,<br>Andrea<br><br><div>> Date: Sun, 26 Oct 2014 15:01:56 +0100<br>> From: johannes.lange@rwth-aachen.de<br>> To: users@lists.geany.org<br>> Subject: Re: [Geany-Users] Geany regexp: sequential numbering<br>> <br>> -----BEGIN PGP SIGNED MESSAGE-----<br>> Hash: SHA1<br>> <br>> Hi,<br>> <br>> you could get that using this plugin[1], checking "Padding: Zero" (if<br>> you select at least 100 lines).<br>> <br>> Cheers,<br>> Johannes<br>> <br>> [1] http://plugins.geany.org/geanyinsertnum.html<br>> <br>> On Sun 26 Oct 2014 14:30:22 CET,<br>> Andrea Paganini <ap_9@outlook.com> wrote:<br>> > I have 100 lines, I want to add 001 at the beginning of the first, <br>> > 002 at the second, 003 at the third, and so on. In emacs I can <br>> > replace   ^   with     \,(format "%03d" (1+ \#))<br>> > <br>> > Is it possible to do something like this in geany? I've read the <br>> > documentation on regular expressions but I couldn't find a <br>> > solution.<br>> > <br>> > <br>> > <br>> > _______________________________________________ Users mailing list<br>> >  Users@lists.geany.org <br>> > https://lists.geany.org/cgi-bin/mailman/listinfo/users<br>> > <br>> -----BEGIN PGP SIGNATURE-----<br>> Version: GnuPG v2.0.19 (GNU/Linux)<br>> <br>> iQIcBAEBAgAGBQJUTP7UAAoJEJrD1L/VaPRxWTIP/jzeTX7096WXF5WwIlZ5KoAw<br>> wayjFu/3Hq8Ohj4ws8hE5l9cs8FMr6jXr00uPFaKz5XKfT3ww/HwSEPSlNk2MQTu<br>> CBYjxKLw+UBgyAskbZJwk3G3iHyH0rRyJxJf1UAbEtNXaSdlijYvnT4h90fsw5tV<br>> RAJseZCREE/3FpN6XNMCIU1NPCpdQgWV8OYKVmukC04qq2edBLXuA9FYxCBOkRDQ<br>> ++l5Kdm4Gf0WyIfwD04SrBSeBG9TIzlBeD9jrPicYrHzLwuc2l4hDlzatYKQ7VKJ<br>> awasl4amgEnfNOvuwqgYl8UOgiQJXJ7+bry5LDUILj/xQ2Pqq3Mp/FtZ9tNfbyRE<br>> aTA1qQjeoNoDD2tHzXWN0IKjlKusocxZ+5zPZ2Gbx9SHtiy7464UcfPMtEv0ak/r<br>> 2SzUhrp5FWdL0U12WkvdJGU6VOdRZpgy29p9k1geDBJtwsisZXUkBd9cusdXJpO3<br>> RAk7yXZMvTUtwJrpbFu7w5k88ha8HbTlcqCk3rfkca442DE1j8bh23VrRYjqVr+H<br>> KhlC7AD+0AIX5bP1Cng/1tLOfs8ho8BnzMCKCk4X8QWXMyLFP2d+2/rSTws01ZE3<br>> c8jf3H97vFede13udobpb/xnroSjG96GVkG/ATGM0KHs1T2lsKacJk34xyI2Ib9z<br>> 2p55V58+6vMG6u+Y8szS<br>> =gPM0<br>> -----END PGP SIGNATURE-----<br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.geany.org<br>> https://lists.geany.org/cgi-bin/mailman/listinfo/users<br></div>                                          </div></body>
</html>