Wrap paragraph in unsaved file causes exception


#1

I used the tree-view to create a file with extension “.js” I started typing a comment and used cmd-option-q to wrap the paragraph and it threw an exception.

Uncaught TypeError: Cannot call method 'isComment' of undefined