mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Snippets matching the cursor's word prefix are inserted on 'tab' events
This commit is contained in:
@@ -329,6 +329,9 @@ class EditSession
|
||||
getSelectedText: ->
|
||||
@getLastSelection().getText()
|
||||
|
||||
getTextInBufferRange: (range) ->
|
||||
@buffer.getTextInRange(range)
|
||||
|
||||
moveCursorUp: ->
|
||||
@moveCursors (cursor) -> cursor.moveUp()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user