Hi, 

Let's say I have a TextView called textNote. And let's say that there are
some tags that have been applied (bold, italics). 

When I use this code in an eventhandler: 

string text = textNote.Buffer.Text;
textNote.Buffer.Text = string.Empty;
textNote.Buffer.Text = text;

I end up losing the markup. Why is that? How can I preserve the markup in a
string?

Thanks,

Evan
-- 
View this message in context: 
http://www.nabble.com/textbuffer-text-as-string-with-markup.-tp23991021p23991021.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to