From b2cc190a3ba1cde4887a52ce5f396d89a51495c1 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 13 Oct 2014 16:35:50 -0700 Subject: [PATCH] Actually get the cursor --- src/text-editor.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text-editor.coffee b/src/text-editor.coffee index 62bfe3206..129d08ff6 100644 --- a/src/text-editor.coffee +++ b/src/text-editor.coffee @@ -2416,7 +2416,7 @@ class TextEditor extends Model scopesAtCursor: -> deprecate 'Use editor.getLastCursor().scopesAtCursor() instead' - cursor.getScopeDescriptor() + @getLastCursor().getScopeDescriptor() getCursorScopes: -> deprecate 'Use editor.getLastCursor().scopesAtCursor() instead' @scopesAtCursor()