From 0a10603eb38592fb88b8cd611cb190e7b8eee68f Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 30 Oct 2013 11:38:32 -0700 Subject: [PATCH] Pass all options through --- src/root-view.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/root-view.coffee b/src/root-view.coffee index 175368da6..c434aa026 100644 --- a/src/root-view.coffee +++ b/src/root-view.coffee @@ -221,17 +221,17 @@ class RootView extends View pane.focus() if changeFocus paneItem - openSingletonSync: (uri, {split}={}) -> + openSingletonSync: (uri, {changeFocus, initialLine, split}={}) -> uri = project.relativize(uri) pane = @panes.paneForUri(uri) if pane paneItem = pane.itemForUri(uri) pane.showItem(paneItem) - pane.focus() + pane.focus() if changeFocus paneItem else - @openSync(uri, {split}) + @openSync(uri, {changeFocus, initialLine, split}) # Public: Updates the application's title, based on whichever file is open. updateTitle: ->