implement context menu on source text for clipboard operations