Thanks for this great feature. Very nice. I found a bug, though, that causes the type dialog to show another copy of all of the types after each comment is entered. This happens because OnAddItem() calls LoadTypes() each time and LoadTypes() simply adds all of the types to the existing collection. The solution is to insert
m_pListLog->m_pAllowedTypesDlg->Clear();
before
m_pListLog->m_pAllowedTypesDlg->AddItem(m_Types);
which is in LoadTypes() at line 244 of todolist.cpp in my environment.
I like the feature so much that I have merged it with my patch that adds a C-style comment that works on doxygen comment blocks, since they conflicted. Your change detects my comments nicely. I also resized the dialogue slightly so that you don't have to scroll to get to the bottom items. Details of my patch are at http://forums.codeblocks.org/index.php/topic,12130.0.html. I updated my patch on Berlios with the merged version, too. It's patch 2941 at https://developer.berlios.de/patch/index.php. Copy attached.
Cheers,
Cryo.
[attachment deleted by admin]