Remove options.includeDelimiter

It was not being used anywhere
This commit is contained in:
Corey Johnson
2013-01-21 13:27:59 -08:00
parent dd5f63022a
commit 7df999dc32

View File

@@ -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)