Re: Find with collapsed folds

Vicente <[email protected]>
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
Hi Neil:

On Thursday, March 24, 2022 at 4:19:03 AM UTC+1 Neil Hodgson wrote:

> This is caused by folding and filtering fighting. Both features want to 
> hide and show lines in the file. When a find is performed in find or 
> replace, any filtering is first removed which is done by showing all lines. 
> This occurs even in the find strip which, unlike the replace strip, doesn’t 
> include a filter option. The filter code believes it is in control of line 
> visibility so doesn’t update the fold header states when it shows the 
> lines. 
>
> Different fixes may be needed for different modes. It may be possible to 
> fix finding by never performing a filter removal while the find strip is 
> present. The replace strip is more complex as it includes filtering 
> options. Its unlikely anything will be fixed by the next release. 
>
>
What is filtering in that context? if this is related to the incremental 
option, it is disabled in the global properties file:
find.strip.incremental=0
replace.strip.incremental=0
 
Just tested disabling the strips:
find.use.strip=0
replace.use.strip=0
and it works, as a workaround.

Regards,
  Vicenç.

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/3b13eca3-6c2d-43fa-9fcb-ceccce5f06b5n%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.