Update script view to use editor.getSelection()
Merge pull request #108 from erran/improve-selection-support

Update script view to use editor.getSelection()