On Wed, 11 Aug 2010 19:53:25 +0100 Liviu Andronic landronimirc@gmail.com wrote:
I've been investigating filetypes.r to see if it is possible to make Geany more friendly (when <ctrl>+right/left, selecting, double-click selecting, etc.) toward strings containing "." (dot), and I noticed this line:
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
Changing it to
wordchars=._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
doesn't seem to make a difference, although the documentation specifies that "wordchars These characters define word boundaries when making selections and searching using word matching options."
Any ideas on what's going wrong?
The R wordchars setting including '.' is being overridden by the default filetypes.common whitespace_chars setting, which includes '.'.
If you remove '.' from whitespace_chars then it seems to work, but that affects all filetypes word boundary definition: http://www.geany.org/manual/index.html#id6
There is no per-filetype whitespace_chars setting.
Regards, Nick