<br><br><div class="gmail_quote">On 23 February 2010 00:57, Jon Senior <span dir="ltr"><<a href="mailto:jon@restlesslemon.co.uk">jon@restlesslemon.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 22 Feb 2010 13:25:49 +0000<br>
<div class="im">Liviu Andronic <<a href="mailto:landronimirc@gmail.com">landronimirc@gmail.com</a>> wrote:<br>
</div><div class="im">> I've been investigating filetypes.r to see if it is possible to make<br>
> Geany more friendly (when <ctrl>+right/left, selecting, double-click<br>
> selecting, etc.) toward strings containing "." (dot), and I noticed<br>
> this line:<br>
> #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789<br>
><br>
> Changing it to<br>
> wordchars=._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789<br>
><br>
> doesn't seem to make a difference, although the documentation<br>
> specifies that "wordchars<br>
> These characters define word boundaries when making selections and<br>
> searching using word matching options."<br>
><br>
> Any ideas on what's going wrong?<br>
<br>
</div>I might be wrong, but I think that some of the stuff in the<br>
filetypes.foo files has now been taken over by Scintilla. Certainly,<br>
Scintilla seems to be responsible for comments and I'd suspect that you<br>
can change the comment start parameter to whatever you like with no ill<br>
effects!<br></blockquote><div><br>It has no effect because the Scintilla R parser ignores the wordchars argument and instead uses its own hard coded definition (which has a bug).  Which parts of the filetype definition files are actually used is dependent on the parser for the particular language.  Unfortunately I know of no documentation in the Scintilla project (other than the code:-) that defines what capabilities each parser has and what parameters are used.<br>
<br>Cheers<br>Lex<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font color="#888888"><br>
Jon<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Geany-devel mailing list<br>
<a href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
</div></div></blockquote></div><br>