Correct procedure for safely swapping a text storage?

2008-03-19 Thread Keith Blount
Hi, My program allows the user to switch between different text documents by choosing them from a source list; the documents are displayed on the right. Each document has its own text storage. I switch between text storages using [textStorage removeLayoutManager:textViewLayoutManager],

Re: Correct procedure for safely swapping a text storage?

2008-03-19 Thread Hamish Allan
On Wed, Mar 19, 2008 at 8:54 PM, Keith Blount [EMAIL PROTECTED] wrote: If anyone has any suggestions, solutions, or just reasons for why I might be encountering these problems, I would be very grateful. Sounds like a bug to me, but in the meantime, have you considered putting your NSTextViews