mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Add Editor::onDidConflict
This commit is contained in:
@@ -309,6 +309,9 @@ class Editor extends Model
|
||||
onDidStopChanging: (callback) ->
|
||||
@getBuffer().onDidStopChanging(callback)
|
||||
|
||||
onDidConflict: (callback) ->
|
||||
@getBuffer().onDidConflict(callback)
|
||||
|
||||
# Retrieves the current {TextBuffer}.
|
||||
getBuffer: -> @buffer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user