[Geany] Keyword auto completion?

Enrico Tröger enrico.troeger at xxxxx
Mon Aug 11 13:54:05 UTC 2008


On Mon, 11 Aug 2008 12:44:04 +0100, Nick Treleaven
<nick.treleaven at btinternet.com> wrote:

> On Sun, 10 Aug 2008 15:57:36 +0200
> Enrico Tröger <enrico.troeger at uvena.de> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20080811/ed9c0bce/attachment.pgp>


More information about the Users mailing list