Merge pull request #4743 from Kangaroopower/patch-1

Actually return the new grammar, as per the API
This commit is contained in:
Kevin Sawicki
2014-12-23 09:05:22 -08:00

View File

@@ -2838,7 +2838,7 @@ class TextEditor extends Model
@subscribeToScopedConfigSettings()
@unfoldAll()
@emit 'grammar-changed'
@emitter.emit 'did-change-grammar'
@emitter.emit 'did-change-grammar', @getGrammar()
handleMarkerCreated: (marker) =>
if marker.matchesProperties(@getSelectionMarkerAttributes())