On Mon, 11 Aug 2008 12:44:04 +0100, Nick Treleaven
<[EMAIL PROTECTED]> wrote:

> On Sun, 10 Aug 2008 15:57:36 +0200
> Enrico Tröger <[EMAIL PROTECTED]> wrote:
> 
> > > It seems you can't use the hash at any point in a line. But this
> > > is a limitation of the GLib key-value file parser.
> > > If nobody does it before I'll open a bugreport this evening or
> > > tomorrow.
> > 
> > Done: http://bugzilla.gnome.org/show_bug.cgi?id=547175
> 
> One of the responses suggested something like:
> def=#define
> 
> I've tested this and it seems to work.

It does.
It even works with a hash in the keys but this would also require to
include the hash character in the wordchars (see section 'Special' in
snippets.conf).

No idea why it didn't work for me before, I thought I tested it in all
possibilities but obviously I didn't.

But an hash character at the beginning of the line is still a comment
character because it can't be escaped. I'll add this note to the bug
report even I think this won't be changed.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key

Attachment: pgpVT0ZkIQC7h.pgp
Description: PGP signature

_______________________________________________
Geany mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany

Reply via email to