Hi all, I am writing a text editor in Cocoa. I plan to implement code folding and line bookmarking. However, I cannot figure out how to store this information so that it will be available the next time the text file is opened. When using TextMate, for instance, your code folding and line bookmarks are restored when you reopen a text file even if it has been moved or renamed. How is this possible? Thanks.