Add Cursor::getMarker() method

This commit is contained in:
Ben Ogle
2014-11-11 13:08:19 -08:00
parent 307108ec6c
commit 40c11410f0

View File

@@ -171,6 +171,10 @@ class Cursor extends Model
Section: Cursor Position Details
###
# Public: Returns the underlying {Marker} for the cursor.
# Useful with overlay {Decoration}s.
getMarker: -> @marker
# Public: Identifies if the cursor is surrounded by whitespace.
#
# "Surrounded" here means that the character directly before and after the