mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Hella Editor updates
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user