Fleshing Things Out
I spent a good chunk of time this evening implementing some of the smaller things that Mercurial needs to be able to do. Stuff like:
- global hotkey to open a new note
- deleting notes
- dialog confirming note deletion
- saving notes when you close them (via the menu item or the “X”)
- keyboard shortcuts for deleting/renaming notes
- Sorting recent items list by last changed instead of name
- Settings menu item (doesn’t do anything yet)
- Some code cleanup
I still need to find time to read up on plugin stuff, but I think that getting this running solidly would be a better use of my time right now. The ultimate test will be when classes start up again. I’ll pull a Microsoft and be “eating my own dogfood” and try to use this as much as possible in class. That’s really the best way to get an idea of what changes need to be made and what features need to be added. I’m honestly a little scared to entrust class notes to this right now, but I’ve made sure that it does pretty robust file backups when you do things like writing out a new copy of a file or deleting. Hopefully I won’t need them, but it’s nice just in case.
I’d like to start working on some sort of configuration stuff next, but I’m not sure how I’d go about it. Perhaps I’ll just create a config class that reads in the configuration info from an XML file. I can just create a Singleton called Config or what have you, and use that to read the XML and provide getters/setters for config stuff. This is exciting stuff, I wish I didn’t have many hours of driving ahead of me tomorrow so I could get to it.
March 27th, 2005 Comments Off



