Re: Find with collapsed folds

"'Neil Hodgson' via scite-interest" <[email protected]>
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
Vicente:

> 2.- Ctrl+Shift+Right-click on the fold margin in order to collapse all folds.
> 3.- Ctrl+F to open the Find strip.
> 4.- Type anything.
> What happens is that all folds get openned, but the ones at the top level keep the "+" and the horizontal line indicating that it is closed.

   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.

   Neil

-- 
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/21BC2863-5D03-4B4E-888E-00E68BE6B466%40me.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.