On Fri, Sep 20, 2002, Michael Nordstr�m wrote: > On Fri, Sep 20, 2002, Laurens M. Fridael wrote: > > > If you eject/insert the card, the document list is updated > > automatically. > > You will lose the category settings, though (something I would like > to do something about in a future version)
Now, I have implemented a solution to this problem. My idea has always been to add a flag to the structure that indicates whether the document is "active" or not, but that solution just wouldn't work with the way the document list is handled in the current version. Anyway, by replacing the fixed array with a linked list (I wrote a generic linked list to be used for the anchor and history handling) I was able to make the document list more "dynamic". Of course, this will make the document list "grow" every time you insert a new card, so I should add an option making it possible to clean up the document list from all documents not present in RAM or on the inserted card. However, by storing all this data in the document list it should also be possible to list all "external" documents and when the user selects one of them the viewer could display a dialog that indicates what card it is located on (the user will have to keep track of what label is connected to what card, though:) This will not be included until after 1.2 has been released, though. /Mike _______________________________________________ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
