[Github-comments] [geany/geany-plugins] geanydoc: Drop use of the most obvious deprecated Geany API (#356)

Jiří Techet notifications at xxxxx
Thu Jun 9 09:06:00 UTC 2016


>  
>  	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/1c6f05d8784ebe6c440b18b339739be86e1ad903#r66405664
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160609/452c6f3d/attachment.html>


More information about the Github-comments mailing list