mirror of
https://github.com/atom/atom.git
synced 2026-02-15 00:55:14 -05:00
Add getWordUnderCursor to Editor and EditSession
This commit is contained in:
@@ -209,6 +209,7 @@ class Editor extends View
|
||||
setCursorBufferPosition: (position, options) -> @activeEditSession.setCursorBufferPosition(position, options)
|
||||
getCursorBufferPosition: -> @activeEditSession.getCursorBufferPosition()
|
||||
getCurrentParagraphBufferRange: -> @activeEditSession.getCurrentParagraphBufferRange()
|
||||
getWordUnderCursor: (options) -> @activeEditSession.getWordUnderCursor(options)
|
||||
|
||||
getSelection: (index) -> @activeEditSession.getSelection(index)
|
||||
getSelections: -> @activeEditSession.getSelections()
|
||||
|
||||
Reference in New Issue
Block a user