A directive to retrieve highlighted text