[geany/geany-plugins] 58f921: addons: further improve RFC 3986 compliancy for URI selection

glitsj16 git-noreply at xxxxx
Mon Jun 22 15:40:40 UTC 2015


Branch:      refs/heads/master
Author:      glitsj16 <glitsj16 at users.noreply.github.com>
Committer:   glitsj16 <glitsj16 at users.noreply.github.com>
Date:        Mon, 22 Jun 2015 15:40:40 UTC
Commit:      58f92161c11cff7ba6e0681593fd34a89c9dcc53
             https://github.com/geany/geany-plugins/commit/58f92161c11cff7ba6e0681593fd34a89c9dcc53

Log Message:
-----------
addons: further improve RFC 3986 compliancy for URI selection


Modified Paths:
--------------
    addons/src/ao_openuri.c

Modified: addons/src/ao_openuri.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -250,7 +250,7 @@ void ao_open_uri_update_menu(AoOpenUri *openuri, GeanyDocument *doc, gint pos)
 		sci_get_selected_text(doc->editor->sci, text);
 	}
 	else
-		text = editor_get_word_at_pos(doc->editor, pos, GEANY_WORDCHARS"@.://-?&%#=~+");
+		text = editor_get_word_at_pos(doc->editor, pos, GEANY_WORDCHARS"@.://-?&%#=~+_&,;");
 
 	/* TODO be more restrictive when handling selections as there are too many hits by now */
 	if (text != NULL && (ao_uri_has_scheme(text) || ao_uri_is_link(text)))



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list