summaryrefslogtreecommitdiffstats
path: root/src/pattern
AgeCommit message (Collapse)Author
2022-11-04make content search max file size configurable (#628)Denys Séguret
Fix #626
2022-11-04version 1.16.2Canop
2022-10-04New escaping rules (#609)Denys Séguret
As was noticed by @FedericoStra, escaping for regular expressions was painful. For example you had to do `/\\d` to search for a digit. This PR brings more complex escaping rules so that less escaping is necessary: - when after '/': only ' ', ':', '/' and '\' need escaping - otherwise, '&,' '|', '(', ')', '\' need escaping Fix #592
2022-09-12bugfix: fix `TokPattern::find_ranges` to solve #504Federico Stra
2022-07-24fix typosKian-Meng Ang
2022-07-04default conf is now a directoryCanop
and not just a file, thanks to imports. And it contains skin files. Fix #431 Fix #340
2022-06-12add examples on search modes in help screenCanop
Fix #559
2022-05-06version 1.12.0v1.12.0Canop
2022-05-04add the :stage_all_files internalCanop
Default mapping: ctrl-a
2021-12-31total_search shows all matchesCanop
This is experimental and might be reversed in a future version
2021-12-29fix wrong translation from exact pattern to regex patternv1.8.1Canop
Fix: regex pattern automatically built from content pattern when going from a tree search to a file preview isn't escaped Fix #472
2021-08-11slightly more concise pattern pattern matchingCanop
2021-08-04improve scrolling behaviorsCanop
Especially move the selection when you're at one end and you try to scroll the blocked way. Fix #419
2021-06-18fix tree being searched again on cursor movementsCanop
Fix #402
2021-05-17use lazy-static 2Canop
2021-05-12raise an error on invalid search modesCanop
(instead of replacing the unrecognized token with the default kind or object)
2021-05-11improve fuzzy group minimization in some casesCanop
This one was quite hard: On pattern "besh", find benches/shared ^^ ^^
2021-05-11fix max_nb_holes not checked in fuzzy patternsCanop
2021-05-10make 'fuzzy path' the default search modeCanop
2021-05-09fix "tokens" search being displayed as '???' in helpCanop
2021-05-09match line count in selection on content searchesCanop
when a content search has been done, opening a file with a compatible command (like the standard `:edit`) opens on the first line with a match
2021-05-08upgrade lazy-regex to 1.0Canop
2021-05-07apply a different style to the subpath before the filenameCanop
This style is visible when searching on subpath
2021-05-07new rust version, new clippyCanop
Mostly for the good, this time. I'm just not very happy with being asked to add a hard to read `!is_empty()`.
2021-05-06fix search modes configuration removing all default mappingsCanop
Fix #383
2021-05-05small perf improvement in tokens patternsunordered-tokensCanop
2021-05-05tok pattern optimization: no pos computation in score_ofCanop
2021-05-05Tokens Patterns support both ',' and ';' as separatorCanop
2021-05-04first implementation of a "tokens" patternCanop
2021-04-30fix bad reset of filtering state in case of emptied prefixed patternsCanop
Fix #379
2021-04-20staging area filtered with patternCanop
2021-03-21add composite pattern évaluation to benchesCanop
2021-03-13normalize pattern for fuzzy searchesCanop
The input may be pasted and thus contain unnormalized parts.
2021-03-12improve fuzzy matching, holes minimizationCanop
2021-03-10rewrite fuzzy matching to minimize number of holesCanop
The number of holes in matches should now be the absolute minimum. And it looks like the new algorithm is faster.
2021-03-09use smallvec for char positions in namematchsCanop
2021-03-05remove costly debugsCanop
2021-03-05improves and simplifies fuzzy matching (WIP)Canop
I've removed the separation between a scoring algorithm and the matching one. This means we lose a few % in performances but it's way easier to change the matching algorighm when it doesn't have to be reproduced with a lighter logic. I've tuned the algorithm to avoid singled chars if possible and to have a malus when they can't be avoided.
2021-02-03update bet to 0.4Canop
2020-12-13keep selection visible on unfilteringCanop
The selection was sometimes scrolled away on unfiltering. Also change some formatting.
2020-12-11use serde's derive to deserialize confCanop
2020-10-21filesystems view now filterableCanop
2020-10-20keep tree options when going through not tree statesCanop
2020-10-06minor doc clarificationCanop
2020-10-04list the search modes and their main prefix in helpCanop
2020-10-03`cr/` prefix allows a regex based search on file contentCanop
2020-09-29list of verbs is now searchableCanop
2020-08-07fix possible crash/errors in fuzzy matches in file content previewsCanop
When displaying the matches, the name_match indexes were interpreted as byte indexes while they're char indexes
2020-07-26small code cleaningCanop
2020-07-25content search in tree propagated as regex to previewCanop
on :panel_right (ctrl-right)