Page 1 of 1

request for plugin Text Filter

Posted: 26.10.2024 13:43
by elmar
Is there a way to display the contents which match the text filters, just like EmEditor or Microsoft Excel data filter?

Re: Text Filters

Posted: 26.10.2024 14:31
by main Alexey
no, but something is possible in plugin API, so try to make the plugin:

- plugin can find all lines for filter-string and put them to a new empty document
- or, plugin can find all lines not ok for filter-string and make folding ranges for them, and fold all those ranges

Re: Text Filters

Posted: 27.10.2024 01:09
by elmar
Thank you for these information!

Re: Text Filters

Posted: 03.12.2024 09:36
by elmar
> or, plugin can find all lines not ok for filter-string and make folding ranges for them, and fold all those ranges
Could someone help to create such a plugin?

Re: Text Filters

Posted: 09.12.2024 16:04
by BBServ
You can do this to some extent without a new plugin if you have the plugin Cuda_ext installed.
Use Cudatext "find" and under the three dots choose select all.
This will put a cursor on every line that has a found item.
Use the Cuda_ext command, under Misc, Fold lines without carets.

Re: Text Filters

Posted: 09.12.2024 16:52
by main Alexey
"Plugins / Cuda-Ext / Misc / Fold lines without carets" menu item. interesting idea...