On 9/17/07, Nick Treleaven nick.treleaven@btinternet.com wrote:
I've now applied the patch slightly modified - thanks for this.
Hey, I like this!
I would also like to be able to clear any existing messages, and activate the notebook tab. It looks like the easiest way would be to add a reference to the global struct MessageWindow into the struct GeanyData. I can work up a patch if that sounds OK. ( I would call the field msg_win since we already have a msgwindow )
Also, I'm not sure what sort of housekeeping I need to do when I assign the build_info.dir string. I assume that if it's non-null to begin with, I would need to free the existing string, but then who is responsible to free the new string that I allocated?
- Jeff