Fix typo constructor

This commit is contained in:
Kevin Sawicki 2013-12-05 17:33:11 -08:00
parent 32d301ef34
commit 2501b98e8f

View File

@ -1663,7 +1663,7 @@ class EditorView extends View
# Private:
getCharacterWidthCache: (scopes, char) ->
scopes ?= NoScope
obj = @constsructor.characterWidthCache
obj = @constructor.characterWidthCache
for scope in scopes
obj = obj[scope]
return null unless obj?