mirror of
https://github.com/atom/atom.git
synced 2026-02-09 14:15:24 -05:00
Add toggle ignored files command
This commit is contained in:
@@ -154,6 +154,7 @@ class Editor extends View
|
||||
'editor:toggle-line-comments': @toggleLineCommentsInSelection
|
||||
'editor:log-cursor-scope': @logCursorScope
|
||||
'editor:checkout-head-revision': @checkoutHead
|
||||
'editor:toggle-ignored-files': @toggleIgnoredFiles
|
||||
|
||||
documentation = {}
|
||||
for name, method of editorBindings
|
||||
@@ -953,6 +954,9 @@ class Editor extends View
|
||||
toggleLineCommentsInSelection: ->
|
||||
@activeEditSession.toggleLineCommentsInSelection()
|
||||
|
||||
toggleIgnoredFiles: ->
|
||||
@rootView().toggleIgnoredFiles()
|
||||
|
||||
logRenderedLines: ->
|
||||
@renderedLines.find('.line').each (n) ->
|
||||
console.log n, $(this).text()
|
||||
|
||||
Reference in New Issue
Block a user