mirror of
https://github.com/atom/atom.git
synced 2026-02-06 20:55:33 -05:00
Merge branch 'master' into as-ns-startup-snapshot
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user