Implement simple text selection check on CorpusEditor