Arto,
I've just discovered something great about CodeSnippets.
I can drag a forum url out of Firefox to a snippets category and it will create a snippet containing that url.
With the dragndrop additions I sent you, I can then drag the snippet back to Firefox, returning to that forum thread.
I was shocked!
I always wanted something like this. It's better than a bookmark because I can put the url along with/under the associated working code snippet category. Later, when I look back at the code snippet/file, the url discussion is right there.
Not only that, I can drag a bugReport/patch url to the relavent snippet category.
It's great!
I've made come changes to the dragndrop, specifically, 1) ability to automatically create an enclosing category when dragging a snippet to a snippet, 2) use of ctrl key to "copy" a snippet when dragging.
Have a look at the bottom of app.h to see the change log.
Maybe there's something there that you will find useful.
http://savefile.com/files/114566Thanks
pecan
ps, Your code taught me to correctly spell cat
egory.
Edit: 2006/09/28 9:35
I've just discovered that a snippet catagory will *always* be created when dragging a snippet out of the tree. I'll fix this today. Just a heads up in case you find this problem in my code.