Excellent !!
I replaced << by __ and it works as expected !!
Thx


On Thu, Jul 19, 2012 at 12:02 PM, Lex Trotman <elextr@gmail.com> wrote:
On 19 July 2012 19:27, Eric Crastes <eric.crastes@gmail.com> wrote:
> Hello
>
> I modify quite often scripts written by other developer.
> To identify my modifications, I have the habit to insert #<myname> at the
> beginning and #</myname> at the end of my modification.
>
> I would like to be able to insert this 2 "tags" through a snippet.
> Unfortunately, if I add :
> #<=#<myname>%cursor%;</myname>
> the line is considered as a comment and ignored
>
> same issue with :
> <<=#<myname>%cursor%;</myname>
> this time the second part is considered as a comment and ignored

The problem isn't the second part, its the first part, the << isn't
being recognised as a snippet because snippet names must be wordchars.
 Unless you have re-defined them then thats only ASCII alphabetics,
digits and _

Cheers
Lex


>
> Is it possible to achieve this ?
> and how ?
>
> Thanks
>
> ericc
>
> _______________________________________________
> Geany mailing list
> Geany@uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>
_______________________________________________
Geany mailing list
Geany@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany