XNotesPlus – modifying categories


The generic.c module has been udpated to process menu bars along with button bars. It's now in use with the cvs version of the Todo Manager. The Todo Manager also now has the Category Editor enabled. The editor can modify the categories for the current manager (only Todos are using this feature so far) but there is still some support code to be added to update the Todo Manager UI with the updated categories. This includes running the list of todos and resetting any whose categories have changed.

This brings up the problem of what to do when an existing category is modified. Right now this is only handled in the editor. What really needs to happen is that editor needs to call a function defined by the caller that will update all entries that had the old category with the new category name. This will change the API slightly by requiring the caller (the Pilot managers) to pass in a function name to call that accepts the old and new category names. Since each pilot manager will handle this differently, this is the best architecture for this. It puts the onus of handling the changes in the module that knows about the structure of that particular data (re: link list).

Anyway, this is getting pretty close to being done. Once this is done I just have the updates to the pilot link tools to add system info and user data (maybe – I might put this off till later since its not really something I need right now) before releasing 3.7.