Hella Editor updates

This commit is contained in:
Garen Torikian
2013-04-12 15:17:11 -05:00
parent b2637aae57
commit 286e70cc57
6 changed files with 167 additions and 16 deletions

View File

@@ -81,6 +81,11 @@ class Buffer
path: @getPath()
text: @getText() if @isModified()
# Public: Identifies if the buffer belongs to multiple editors.
#
# For example, if the {Editor} was split.
#
# Returns a {Boolean}.
hasMultipleEditors: -> @refcount > 1
# Internal: