function splitSelIntoLines(editor) {
        editor = editor || EditorManager.getFocusedEditor();
        if (editor) {
            editor._codeMirror.execCommand("splitSelectionByLine");
        }
    }
@private
Takes the current selection and splits each range into separate selections, one per line.
@param {!Editor} editor The editor to operate on.