Merge branch 'master' into as-ns-startup-snapshot

This commit is contained in:
Antonio Scandurra
2017-02-28 10:59:27 +01:00
4 changed files with 32 additions and 26 deletions

View File

@@ -353,7 +353,8 @@ class TextEditor extends Model
cursor.setShowCursorOnSelection(value) for cursor in @getCursors()
else
throw new TypeError("Invalid TextEditor parameter: '#{param}'")
if param isnt 'ref' and param isnt 'key'
throw new TypeError("Invalid TextEditor parameter: '#{param}'")
@displayLayer.reset(displayLayerParams)