On Sat, 20 Aug 2011 23:58:47 +1000 Lex Trotman elextr@gmail.com wrote:
Can you point me to where Geany loads locale dependent wordchars and where it gets it from?
Scintilla does it... oh, wait. Neither scintilla nor scite can find the word in ‘боза’, or even ‘boza’ (grep does, for 8-bit text). *Gee*.
On Sat, 20 Aug 2011 16:46:16 +0200 Colomban Wendling lists.ban@herbesfolles.org wrote:
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.
Like the famous "...consists of sequences of non-blank characters separated by blanks". :)
My patch tries to use this definition of a "word" for search, and keeps the other ("a sequence of wordchars") for symbol stuff.
Well, since using "Find previous/next selection" on a non-selected "g_new0(gchar" still finds the next/previous g_new0 or gchar (depending on the cursor position), and not the entire text, I guess it's all right... OTOH, finding "regcomp (" in "(regcomp (&" still doesn't succeed. Guess I can't have it both ways.