Skip to content

Commit

Permalink
Merge pull request #239 from glitsj16/addons
Browse files Browse the repository at this point in the history
addons: support for URI's containing ~ and +
  • Loading branch information
frlan committed Jun 25, 2015
2 parents c916a5e + cdaaff6 commit 882131a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/src/ao_openuri.c
Expand Up @@ -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)))
Expand Down

0 comments on commit 882131a

Please sign in to comment.