Text Filters

Plugins for SynWrite and CudaText...
Post Reply
elmar
Posts: 3
Joined: 26.10.2024 13:40

Text Filters

Post by elmar »

Is there a way to display the contents which match the text filters, just like EmEditor or Microsoft Excel data filter?
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Re: Text Filters

Post 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
elmar
Posts: 3
Joined: 26.10.2024 13:40

Re: Text Filters

Post by elmar »

Thank you for these information!
elmar
Posts: 3
Joined: 26.10.2024 13:40

Re: Text Filters

Post 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?
BBServ
Posts: 15
Joined: 01.04.2021 17:20

Re: Text Filters

Post 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.
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Re: Text Filters

Post by main Alexey »

"Plugins / Cuda-Ext / Misc / Fold lines without carets" menu item. interesting idea...
Post Reply