@@ -63,9 +63,9 @@ class FuzzyFinderView extends SelectListView
63
63
@ div fileBasename, class : " primary-line file icon #{ typeClass} " , ' data-name' : fileBasename, ' data-path' : projectRelativePath
64
64
@ div projectRelativePath, class : ' secondary-line path no-icon'
65
65
66
- openPath : (filePath , lineNumber , searchAllPanes ) ->
66
+ openPath : (filePath , lineNumber , openOptions ) ->
67
67
if filePath
68
- atom .workspace .open (filePath, searchAllPanes : searchAllPanes ).done => @ moveToLine (lineNumber)
68
+ atom .workspace .open (filePath, openOptions ).done => @ moveToLine (lineNumber)
69
69
70
70
moveToLine : (lineNumber = - 1 ) ->
71
71
return unless lineNumber >= 0
@@ -102,13 +102,13 @@ class FuzzyFinderView extends SelectListView
102
102
103
103
confirmSelection : ->
104
104
item = @ getSelectedItem ()
105
- @ confirmed (item, atom .config .get ' fuzzy-finder.searchAllPanes' )
105
+ @ confirmed (item, searchAllPanes : atom .config .get ( ' fuzzy-finder.searchAllPanes' ) )
106
106
107
107
confirmInvertedSelection : ->
108
108
item = @ getSelectedItem ()
109
- @ confirmed (item, ! atom .config .get ' fuzzy-finder.searchAllPanes' )
109
+ @ confirmed (item, searchAllPanes : not atom .config .get ( ' fuzzy-finder.searchAllPanes' ) )
110
110
111
- confirmed : ({filePath}= {}, searchAllPanes ) ->
111
+ confirmed : ({filePath}= {}, openOptions ) ->
112
112
if atom .workspace .getActiveTextEditor () and @ isQueryALineJump ()
113
113
lineNumber = @ getLineNumber ()
114
114
@ cancel ()
@@ -121,7 +121,7 @@ class FuzzyFinderView extends SelectListView
121
121
else
122
122
lineNumber = @ getLineNumber ()
123
123
@ cancel ()
124
- @ openPath (filePath, lineNumber, searchAllPanes )
124
+ @ openPath (filePath, lineNumber, openOptions )
125
125
126
126
isQueryALineJump : ->
127
127
query = @filterEditorView .getModel ().getText ()
0 commit comments