mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Support opening fuzzy finder to a specific line
Adding a line number after a colon such as ':8' to the end of the fuzzy filter input field will navigate to line 8 of the opened editor.
This commit is contained in:
@@ -79,10 +79,13 @@ class SelectList extends View
|
||||
@loading.text(message)
|
||||
@loadingArea.show()
|
||||
|
||||
getFilterQuery: ->
|
||||
@miniEditor.getText()
|
||||
|
||||
populateList: ->
|
||||
return unless @array?
|
||||
|
||||
filterQuery = @miniEditor.getText()
|
||||
filterQuery = @getFilterQuery()
|
||||
if filterQuery.length
|
||||
filteredArray = fuzzyFilter(@array, filterQuery, key: @filterKey)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user