From 7df999dc32d45f2b043a19b1d7ad3b0ad7ca0255 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Mon, 21 Jan 2013 13:27:59 -0800 Subject: [PATCH] Remove options.includeDelimiter It was not being used anywhere --- src/app/cursor.coffee | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/cursor.coffee b/src/app/cursor.coffee index 336be0c53..17d77e21e 100644 --- a/src/app/cursor.coffee +++ b/src/app/cursor.coffee @@ -198,7 +198,6 @@ class Cursor getCurrentWord: (options = {}) -> match = @editSession.getTextInBufferRange([@getBeginningOfCurrentWordBufferPosition(options), @getEndOfCurrentWordBufferPosition(options)]) - return match if options.includeDelimiter? if match?.length > 2 match.substring(1, match.length-1)