From: Alexander Barton Date: Thu, 25 Jun 2015 16:01:05 +0000 (+0200) Subject: Merge branches 'add-gitignore', 'dont-use-transactions' and 'workspace-addBottomPanel... X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=atom-ax-pipe.git;a=commitdiff_plain;h=HEAD;hp=6f54f717b449fe101afc2dfb1248288b1577daf9 Merge branches 'add-gitignore', 'dont-use-transactions' and 'workspace-addBottomPanel' into tmp * add-gitignore: Add .gitignore file * dont-use-transactions: Don't use editor.{begin|commit}Transaction * workspace-addBottomPanel: Use "atom.workspace.addBottomPanel" --- diff --git a/lib/command-view.coffee b/lib/command-view.coffee index 0b9e865..042a048 100644 --- a/lib/command-view.coffee +++ b/lib/command-view.coffee @@ -52,5 +52,5 @@ class CommandView extends View if historyPos >= history.length cur = @commandLine.getText() - atom.workspaceView.append(this) + atom.workspace.addBottomPanel(item: this) @commandLine.focus() diff --git a/lib/pipe.coffee b/lib/pipe.coffee index 97ada8a..7c97563 100644 --- a/lib/pipe.coffee +++ b/lib/pipe.coffee @@ -28,12 +28,10 @@ module.exports = ranges = editor.getSelectedBufferRanges() wg = new WaitGroup -> - editor.commitTransaction() view.focus() wg.add(ranges.length) - editor.beginTransaction() for range, i in ranges marker = editor.markBufferRange range, properties processRange marker, editor, commandString, wg