aboutsummaryrefslogtreecommitdiff
path: root/code/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-23 22:13:16 +0100
committerAleksey Kladov <[email protected]>2018-08-23 22:13:16 +0100
commitf47f58ffe5fb494c883ec4fd120cdd63ad31cc68 (patch)
tree88ea9aebf54da8008a9adc359e0e613d6a160a61 /code/src
parent8ad586a44e2214a11c4e7d27e0d3c2d73e43f39f (diff)
better join-lines
Diffstat (limited to 'code/src')
-rw-r--r--code/src/extension.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/src/extension.ts b/code/src/extension.ts
index 134459f30..df2109f50 100644
--- a/code/src/extension.ts
+++ b/code/src/extension.ts
@@ -50,6 +50,7 @@ export function activate(context: vscode.ExtensionContext) {
50 let anchor = sel.isEmpty ? active : sel.anchor 50 let anchor = sel.isEmpty ? active : sel.anchor
51 return new vscode.Selection(anchor, active) 51 return new vscode.Selection(anchor, active)
52 }) 52 })
53 editor.revealRange(editor.selection)
53 }) 54 })
54 registerCommand('libsyntax-rust.joinLines', async () => { 55 registerCommand('libsyntax-rust.joinLines', async () => {
55 let editor = vscode.window.activeTextEditor 56 let editor = vscode.window.activeTextEditor