Kaydet (Commit) 4685112d authored tarafından Colomban Wendling's avatar Colomban Wendling

Support for non-ASCII characters in word completion

Closes #3386129.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5901 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 28056ce7
2011-08-24 Colomban Wendling <colomban(at)geany(dot)org>
* src/editor.c:
Make completion and word completion support non-ASCII characters
(closes #3313351).
2011-08-21 Colomban Wendling <colomban(at)geany(dot)org>
* src/callbacks.c, src/editor.c, src/editor.h, src/keybindings.c:
......
......@@ -2080,8 +2080,7 @@ static GSList *get_doc_words(ScintillaObject *sci, gchar *root, gsize rootlen)
word_end = pos_find + rootlen;
if (pos_find != current)
{
while (word_end < len && strchr(GEANY_WORDCHARS, sci_get_char_at(sci, word_end)) != NULL)
word_end++;
word_end = SSM(sci, SCI_WORDENDPOSITION, word_end, TRUE);
word_length = word_end - pos_find;
if (word_length > rootlen)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment