Use getSelectionRange() and setSelectionRange() instead of Range.fromSelection() and Range.setSelection(), the latter of which worked on WebKit's built-in selection object, which we're no longer using.
Use getSelectionRange() and setSelectionRange() instead of Range.fromSelection() and
Range.setSelection(), the latter of which worked on WebKit's built-in selection object,
which we're no longer using.

corinthia/corinthia-editorlib,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editor,corinthia/corinthia-editor,corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editorlib