Add Editor::onDidConflict

This commit is contained in:
Nathan Sobo
2014-09-04 09:12:31 -06:00
committed by Ben Ogle
parent 5a02303b58
commit 63c9da02f6

View File

@@ -309,6 +309,9 @@ class Editor extends Model
onDidStopChanging: (callback) ->
@getBuffer().onDidStopChanging(callback)
onDidConflict: (callback) ->
@getBuffer().onDidConflict(callback)
# Retrieves the current {TextBuffer}.
getBuffer: -> @buffer