summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2020-09-30 21:56:37 +0200
committerDave Davenport <qball@gmpclient.org>2020-09-30 21:56:37 +0200
commitb4bbce4af5593486ce322bfaa55ef83f75a8b7a6 (patch)
tree7bcd88273ca3f3e81cc68775215d6b8c3303db46 /include
parent96c7ab0fffa7dee1090c72fbe0763bcb9f75667a (diff)
[Helper] Add -normalize-match option.
Decomposes string and remove accent characters before matching. This makes o match ö, é match e and more. It is not a perfect implementation but works. Currently disables the match highlighting. Fixes: #1119
Diffstat (limited to 'include')
-rw-r--r--include/settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/settings.h b/include/settings.h
index cecb9c34..491036b5 100644
--- a/include/settings.h
+++ b/include/settings.h
@@ -203,6 +203,8 @@ typedef struct
/** Benchmark */
gboolean benchmark_ui;
+
+ gboolean normalize_match;
} Settings;
/** Global Settings structure. */
extern Settings config;