aboutsummaryrefslogtreecommitdiff
path: root/src/stardict.h
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-09-26 15:59:26 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-09-26 15:59:26 +0200
commita59104191270b74d0a1312a6b83884ffb9334691 (patch)
treef2cfc11f27110e8570871773db0236a08bff7778 /src/stardict.h
parenta87aca9c76c57770a69740b7e1ac9a56eb73f22c (diff)
downloadtdv-a59104191270b74d0a1312a6b83884ffb9334691.tar.gz
tdv-a59104191270b74d0a1312a6b83884ffb9334691.tar.xz
tdv-a59104191270b74d0a1312a6b83884ffb9334691.zip
Highlight the longest matching prefix of entries
Diffstat (limited to 'src/stardict.h')
-rw-r--r--src/stardict.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stardict.h b/src/stardict.h
index 7b8322a..25c7939 100644
--- a/src/stardict.h
+++ b/src/stardict.h
@@ -138,6 +138,9 @@ gchar **stardict_dict_get_synonyms (StardictDict *sd, const gchar *word);
StardictIterator *stardict_dict_search
(StardictDict *sd, const gchar *word, gboolean *success);
+size_t stardict_longest_common_collation_prefix
+ (StardictDict *sd, const gchar *w1, const gchar *w2);
+
// --- Dictionary iterators ----------------------------------------------------
struct stardict_iterator