diff options
author | Dave Davenport <qball@gmpclient.org> | 2020-09-30 21:56:37 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2020-09-30 21:56:37 +0200 |
commit | b4bbce4af5593486ce322bfaa55ef83f75a8b7a6 (patch) | |
tree | 7bcd88273ca3f3e81cc68775215d6b8c3303db46 /include | |
parent | 96c7ab0fffa7dee1090c72fbe0763bcb9f75667a (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.h | 2 |
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; |