RFC: Search&Replace: behaviour of the "Expand results" button
Kåre Särs
kare.sars at iki.fi
Fri Sep 29 06:05:04 UTC 2017
Hi,
On fredag 29 september 2017 kl. 00:52:14 EEST Alexander Neundorf wrote:
> Hi,
>
> in the Search&Replace plugin, currently the "Expand results" is checkable
> and decides whether after the next search the results tree will be expanded
> or not.
>
> I'm not completely happy with the behaviour, I'd like to be able to open and
> close all results afterwards.
>
> The attached patch (not intended for committing yet), changes this button to
> a normal button (not checkable), and clicking it toggles the results open
> and closed.
> As long as you click only that button, everything behaves nice.
> If the user opens and closes items manually, then the behaviour may be a bit
> unexpected, i.e. it will continue to open and close all items.
> Nevertheless I think it's an improvement over the current behaviour.
>
> Comments, better ideas ?
What if the button would be kept as a toggle-button, but with the added
functionality that if we have search results, the trees would be expanded/
collapsed when the button is toggled?
/Kåre
More information about the KWrite-Devel
mailing list