Commit Graph

10 Commits (66c26fa31a5bfbeff7f558d1e9520091980e5321)

Author SHA1 Message Date
voussoir 66c26fa31a Improve lnk searching by separating field names from content.
Previously, if you searched for the word target then every lnk
matched because "Target: xxx" was literally the text being searched.
Now we can use the existing separation between search_text and
result_text to show those headers separately.
2020-01-25 01:18:03 -08:00
voussoir d108670693 Allow passing a pre-formed list as text. 2020-01-25 01:11:11 -08:00
voussoir ea415b953c Rename these key, value variables to give better context. 2020-01-25 01:08:50 -08:00
voussoir 2dc7e75414 Dedent even more. Thanks continue! 2020-01-25 00:58:06 -08:00
voussoir 77481c169c Comment this whole if and not just the inner part. 2020-01-25 00:52:39 -08:00
voussoir 1727be598a Switch this formatter to fstring. 2020-01-25 00:49:08 -08:00
voussoir 91bf90862b Dedent this code by reversing condition and continue. 2020-01-25 00:46:52 -08:00
voussoir 9d8c9fdf51 Support searching of windows .lnk file fields.
I'm currently migrating my shortcuts that point to Py 3.7 to 3.8
so this saves a lot of time!
2020-01-25 00:39:18 -08:00
voussoir 08782fdaf9 Extract code to function search_contents_generic. 2020-01-25 00:36:50 -08:00
voussoir f44e46aab5 Initial commit. 2019-06-11 22:41:31 -07:00