On 19 July 2012 19:27, Eric Crastes <[email protected]> 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 > [email protected] > https://lists.uvena.de/cgi-bin/mailman/listinfo/geany > _______________________________________________ Geany mailing list [email protected] https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
