mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Remove options.includeDelimiter
It was not being used anywhere
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user