On Tue, 14 Sep 2010 18:03:52 +1000 Erik de Castro Lopo mle+tools@mega-nerd.com wrote:
Currently, when closing the last tab, I get a geany window without any text area.
The attached patch fixes that, by creating a new untitled document when the last tab is closed. I've been running with this patch for over a week.
Well, the responses are all positive. But I don't think that keybindings.c is the best place for this code. What about writing it as an idle callback from document_remove_page?
Regards, Nick