Issue #2335407 by eshta: Refine edit in context for text selections.