For whatever reason, in some cases document_get_current() doesn't
return a valid document when it seems like it should, so when updating
the markdown preview from signals where the related GeanyDocument
is available, use that instead of calling document_get_current().

In other cases, continue to use document_get_current() as before.

Closes #1062


You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/1064

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.