Branch: refs/heads/master
Author: Nick Treleaven <nick.treleaven(a)btinternet.com>
Committer: Nick Treleaven <nick.treleaven(a)btinternet.com>
Date: Thu, 19 Sep 2013 12:56:48 UTC
Commit: 6d2f26c494d9459dfbb023655cbe046365424f52
https://github.com/geany/geany/commit/6d2f26c494d9459dfbb023655cbe046365424…
Log Message:
-----------
Don't ignore word matches that vary only by case
The user needs to see all case variants, even when they want searching
to be done case-insensitively (which isn't supported yet).
Modified Paths:
--------------
src/editor.c
Modified: src/editor.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -2121,7 +2121,7 @@ static GSList *get_doc_words(ScintillaObject *sci, gchar *root, gsize rootlen)
{
word = sci_get_contents_range(sci, pos_find, word_end);
/* search whether we already have the word in, otherwise add it */
- if (g_slist_find_custom(words, word, (GCompareFunc)utils_str_casecmp) != NULL)
+ if (g_slist_find_custom(words, word, (GCompareFunc)strcmp) != NULL)
g_free(word);
else
{
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).