From 02fe1d31691ab976a1c0bc5007fc286ea0798d61 Mon Sep 17 00:00:00 2001 From: Aleksey Pivovarov Date: Wed, 5 Aug 2015 21:16:29 +0300 Subject: [PATCH] IDEA-143535 github: fix link for text selection --- .../org/jetbrains/plugins/github/GithubOpenInBrowserAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/github/src/org/jetbrains/plugins/github/GithubOpenInBrowserAction.java b/plugins/github/src/org/jetbrains/plugins/github/GithubOpenInBrowserAction.java index 1e7337aa693d..bb4aad8f44b9 100644 --- a/plugins/github/src/org/jetbrains/plugins/github/GithubOpenInBrowserAction.java +++ b/plugins/github/src/org/jetbrains/plugins/github/GithubOpenInBrowserAction.java @@ -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();