Add toggle ignored files command

This commit is contained in:
Will Farrington
2012-11-09 12:05:14 -08:00
parent 1ea8df6e60
commit ee51e2ea0c
3 changed files with 11 additions and 3 deletions

View File

@@ -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()