[geany/geany-plugins] cd86f9: fix double "_" entree in GEANY_WORDCHARS

glitsj16 git-noreply at xxxxx
Tue Jun 30 20:32:50 UTC 2015


Branch:      refs/heads/master
Author:      glitsj16 <glitsj16 at users.noreply.github.com>
Committer:   glitsj16 <glitsj16 at users.noreply.github.com>
Date:        Tue, 30 Jun 2015 20:32:50 UTC
Commit:      cd86f9108e33ac5fca4b9e70e09be410a61a04ba
             https://github.com/geany/geany-plugins/commit/cd86f9108e33ac5fca4b9e70e09be410a61a04ba

Log Message:
-----------
fix double "_" entree in GEANY_WORDCHARS

The double entree is indeed superfluous, took the added "_" out as recommended. Thanks for that.


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