Quotes only automatically close if they are opened after a non-word character.

This commit is contained in:
Corey Johnson
2012-10-29 13:12:16 -07:00
parent 51b2871e02
commit 40673549cb
3 changed files with 33 additions and 16 deletions

View File

@@ -116,10 +116,6 @@ class TokenizedBuffer
iterator(token, startOfToken, { stop }) if bufferRange.containsPoint(startOfToken)
return unless keepLooping
isBufferPositionInsideString: (bufferPosition) ->
if lastScope = _.last(@scopesForPosition(bufferPosition))
/^string\./.test(lastScope)
findOpeningBracket: (startBufferPosition) ->
range = [[0,0], startBufferPosition]
position = null