IDEA-143535 github: fix link for text selection

This commit is contained in:
Aleksey Pivovarov
2015-08-05 21:17:07 +03:00
parent 9e0a43bde7
commit 02fe1d3169
@@ -182,7 +182,7 @@ public class GithubOpenInBrowserAction extends DumbAwareAction {
if (editor.getDocument().getLineStartOffset(end - 1) == selectionEnd) {
end -= 1;
}
builder.append("#L").append(begin).append('-').append(end);
builder.append("#L").append(begin).append("-L").append(end);
}
return builder.toString();