editor.getSelectedText()Returns the selected plain text.Syntaxeditor.getSelectedText()Return valueType: String The selected plain text.