Hi,
I want to wrap user slected text in source mode with some other text. Calling editor.Selection.Text = "A" + editor.Selection.Text + "A" works in design mode. In source mode NullReferenceException is thrown.
What is the proper way to change user selected text in source mode?