Merge lp://staging/~jeremy-munsch/synapse-project/ascii-smart into lp://staging/synapse-project
Proposed by
Jeremy Munsch
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~jeremy-munsch/synapse-project/ascii-smart |
Merge into: | lp://staging/synapse-project |
Diff against target: |
190 lines (+145/-3) 2 files modified
src/core/query.vala (+3/-3) src/core/utils.vala (+142/-0) |
To merge this branch: | bzr merge lp://staging/~jeremy-munsch/synapse-project/ascii-smart |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Rico Tzschichholz | Needs Information | ||
Review via email: mp+277477@code.staging.launchpad.net |
Description of the change
Ignore non ascii chars like éè and so long.
This allows to search word with non ascii chars and match both.
The reverse is also true, searching with non ascii chars will match same word with ascii chars.
eg: searching for Éteindre (Shutdown action) i could just type eteindre, éteindre will still work though.
This will basically provide more matches by sort of ignoring special chars. It makes synapse smarter and have a faster usage will typing. It is extendible by using just a string for hardcoded config.
It is based on this link http://
To post a comment you must log in.
Unmerged revisions
- 637. By Jeremy Munsch
-
core/utils: add map_special_chars
core/ query: make usage of Utils.map_special_ chars
Updated the branch and commit message following recommendations