The problem might be a design limitation. The function document_find_by_real_path does not consider not-yet-existing files.
GeanyDocument* document_find_by_real_path(const gchar *realname) { guint i;
if (! realname) return NULL; /* file doesn't exist on disk */
The problem might be a design limitation. The function document_ find_by_ real_path does not consider not-yet-existing files.
GeanyDocument* document_ find_by_ real_path( const gchar *realname)
{
guint i;
if (! realname)
return NULL; /* file doesn't exist on disk */