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

Colomban Wendling notifications at xxxxx
Wed Feb 10 19:57:55 UTC 2021


@b4n commented on this pull request.



> @@ -192,7 +193,7 @@ static gboolean on_editor_notify(GObject *obj, GeanyEditor *editor,
   SCNotification *notif, MarkdownViewer *viewer)
 {
   if (IS_MOD_NOTIF(notif)) {
-    update_markdown_viewer(viewer);
+    update_markdown_viewer(viewer, NULL);

```suggestion
    update_markdown_viewer(viewer, editor->document);
```

-- 
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#pullrequestreview-587994423
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210210/907af875/attachment-0001.htm>


More information about the Github-comments mailing list