Page 1 of 1

Search text length limit in Lister

Posted: 2025-03-27, 08:19 UTC
by Valentino
Is it possible to increase search text length limit in Lister?

Code: Select all

---------------------------
<Error!>  (L=287>255)
---------------------------
some_long_message_some_long_message_some_long_message_some_long_message_some_long_message_some_long_message_some_long_message_some_long_message_some_long_message_some_long_message_some_long_message_some_long_message_some_long_message_some_long_message_some_long_message_some_long_message
---------------------------
Retry   Cancel   
---------------------------

Re: Search text length limit in Lister

Posted: 2025-03-27, 14:55 UTC
by ghisler(Author)
Currently this isn't possible because of how the search works (it uses a single byte for the length). Can you use a shorter string, maybe with regular expressions to find the start and end of your special string?

Re: Search text length limit in Lister

Posted: 2025-03-28, 08:15 UTC
by Valentino
Yes, I can use shorter search text at the moment and then verify if the full text is the one I want.
So it's not showstopper for me, just inconvenience: instead of pressing Ctrl+F, Ctrl+V, Enter I have to perform a series of manipulations.
Luckily I don't need to do this often.

Maybe TC could do something similar: search for the first 255 bytes, then compare with the rest?

Re: Search text length limit in Lister

Posted: 2025-03-28, 09:29 UTC
by Horst.Epp
The Lister plugins Akelpad and CudaLister support such long search strings.