Posted 18 years ago
by Michael Trier
I have an MDI tabbed interface and it's currently implemented by using a single Editor object and multiple document objects that are stored in a hash. Each time a tab is selected the document is connected to the Editor object and displayed. I'm also using a single Language object for similar languages. This approach reduces memory usage pretty well, but I'm running into one problem. Each time a document is bound to an Editor the caret position, split views, etc... are lost, since these are properties of teh Editor. I would think storing this information with the the document hash might be a good approach except that I imagine it's going to be a lot of information to save and load back in each time. Perhaps the better approach is to store multiple editors, along with their documents, in the hash instead. Although I know this is possible, will my memory use increase significantly if I take this approach?
Looking forward to v 4.0. Thanks for all of your hard work.
Michael
Looking forward to v 4.0. Thanks for all of your hard work.
Michael