[Geany-Devel] wordchars in filetypes.r

Lex Trotman elextr at xxxxx
Mon Jul 29 02:03:21 UTC 2013

It has never been defined what a "word" is in the context of the filetype
files.  I would have assumed that it meant "identifier" characters, but
since the wordchars setting is commented out in all filetypes files, all
languages must only use C identifier characters (the default) :)

Even CSS which (correctly) has the dash added to the list is commented out.
 Its been that way since Enrico added the dash 5 years ago, so nobody seems
to be too worried.

So Liviu and Thrawn you are pioneering new territory unless someone wants
to define what a "word" actually means.  Note also it can't include any
Unicode chars >0x100 due to Scintilla limitations so its not possible to
make it "right" on newer languages.


On 29 July 2013 09:55, Thrawn <shell_layer-geany at yahoo.com.au> wrote:

> I disagree. Do you really want Ctrl+left and Ctrl+right to skip over dots
> within words as if they were letters? I don't.
> What's your reasoning?
> Thrawn
> ------------------------------
> On Sat, Jul 27, 2013 11:18 PM AEST Liviu Andronic wrote:
> >Dear devels,
> >The filetypes.r currently shipped with Geany contains the following
> >wordchars definition:
> >#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
> >
> >The correct definition should be the following (dot, underscore, and
> >alpha-numerics):
> >wordchars=_.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20130729/07d0d23a/attachment.html>

More information about the Devel mailing list