View Single Post
  #19  
Old 12-20-2005, 08:23 AM
xja xja is online now
Registered User
 
Join Date: 01-06-2005
Posts: 146
Quote:
Originally posted by srdiamond
I think hoisting can be conceptualized as a special case of filtering, and the filtering you propose would yield hoisting as a particular case.
Yes, a hoist is like a filter with one matching item, however, a filter would display all the ancestors of the matched item, up to the root, while hoist would show the matched item as the root, yes? If you made a filter option to not show ancestors when there is only 1 matched item, it would be a hoist.

I do think there is some value to having them as separate concepts... eg, say I'm browsing through a filtered tree, I may want to hoist an item, but maintaining the existing filter in place for all descendants of the hoisted item. In some ways, it is a a filter applied to another filter, but that may start to get confusing to think of it that way, even though that may be the way it is executed in the code..
Reply With Quote