Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Changing selected text in source mode

$
0
0

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?


Viewing all articles
Browse latest Browse all 14170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>