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