From b4bbce4af5593486ce322bfaa55ef83f75a8b7a6 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Wed, 30 Sep 2020 21:56:37 +0200 Subject: [Helper] Add -normalize-match option. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- include/settings.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; -- cgit v1.2.3