def selectedText(self):
        """
        Returns the selected text from the editors.
        
        :return     <str>
        """
        texts = []
        for editor in self.editors():
            text = editor.selectedText()
            if text:
                texts.append(nativestring(text))
        
        return ' '.join(texts)
def selectedText ( self ) : texts = [ ] for editor in self . editors ( ) : text = editor . selectedText ( ) if text : texts . append ( nativestring ( text ) ) return ' ' . join ( texts )
Returns the selected text from the editors.
        
        :return     <str>