[Github-comments] [geany/geany-plugins] Markdown: Update using known GeanyDocument when available (#1064)

Matthew Brush notifications at xxxxx
Tue Feb 9 17:00:26 UTC 2021


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 --

  * Markdown: Update using known GeanyDocument when available

-- File Changes --

    M markdown/src/plugin.c (17)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1064
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210209/8dbec9c2/attachment.htm>


More information about the Github-comments mailing list