[Geany-devel] API: headers / GeanyEditor / gint idx
nick.treleaven at xxxxx
Tue Jun 10 12:15:57 UTC 2008
On Tue, 10 Jun 2008 13:10:30 +0100
Nick Treleaven <nick.treleaven at btinternet.com> wrote:
> 3. The document functions could take/return a GeanyDocument pointer
> instead of a document index, which would avoid the use of:
> being repeated all over the code base when doc-> is much neater.
I forgot to say, it would also mean much neater checks for an invalid
document, just doc != NULL instead of DOC_IDX_VALID(idx) in most cases
after using p_document->get_current().
More information about the Devel