Not tested, but builds fine. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/356
-- Commit Summary --
* geanydoc: Drop use of the most obvious deprecated Geany API
-- File Changes --
M geanydoc/src/geanydoc.c (41)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/356.patch https://github.com/geany/geany-plugins/pull/356.diff
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/356
doc = document_get_current(); g_return_val_if_fail(doc != NULL && doc->file_name != NULL, NULL);
- text_len = sci_get_selected_text_length(doc->editor->sci);
- if (text_len > 1)
Technically this checks for 2-character selections and longer but looks more like a bug than a feature.
--- 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/356/files/1c6f05d8784ebe6c440b18...
Merged #356.
--- 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/356#event-686981861
LGBI.
--- 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/356#issuecomment-224842758
github-comments@lists.geany.org