Find bar in a text view

2013-08-15 Thread Shane Stanley
I have text views in a split view, and I use find bars with them. I'd like to implement incremental searching. When I turn it on in IB it works, except that if I collapse a subview showing the grey overlay, the overlay remains on screen. As a workaround, the documentation says I can turn the

Re: Find bar in a text view

2013-08-15 Thread Kevin Perry
Sounds like a bug that you should report via Bug Reporter. But as a workaround, you should be able to call -[NSTextView setIncrementalSearchingEnabled:NO] when the subview gets collapsed (then obviously set it back to YES when the text view is uncollapsed, though you will lose search results

Re: Find bar in a text view

2013-08-15 Thread Shane Stanley
On 16/08/2013, at 2:27 AM, Kevin Perry kpe...@apple.com wrote: Sounds like a bug that you should report via Bug Reporter. Thanks, I'd done that (#14745599). It also happens if a text view is on a tab view and you change tabs, except it then also moves rather dramatically (in my case partly