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