[Geany-devel] Use of Scintilla word boundaries for word searches

Colomban Wendling lists.ban at xxxxx
Sat Aug 20 14:46:16 UTC 2011

Le 20/08/2011 15:58, Lex Trotman a écrit :
> On 20 August 2011 23:11, Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
>> […]
>> Scintilla and regex use charsets, so we can't jump beyond that. Sorry,
> I agree, thats what I said above, but therefore it doesn't do words as
> in natural language words, so what exactly do you mean, I agree, but
> I'm confused?
>> Lex, I have to side with Colomban here: the (locale) word chars are
>> good for word searching, (symbol) word chars for tags, find usage etc.
> I don't think Geany does words, it only ever does symbols, see my
> question below.

Actually (as supposed in another mail), I guess that a "word" in
Scintilla's opinion when doing a word search is "everything non-empty
between two whitespace characters", so we DO both.

My patch tries to use this definition of a "word" for search, and keeps
the other ("a sequence of wordchars") for symbol stuff.


More information about the Devel mailing list