TextArea to RTF ?

BlitzMax Forums/MaxGUI Module/TextArea to RTF ?

Yan(Posted 2007) [#1]
Is there any way of getting the formatted text from a textarea gadget?


tonyg(Posted 2007) [#2]
Not sure what you mean by 'formatted' but textareatext gets the contents of a textarea gadget.


Yan(Posted 2007) [#3]
I meant retrieve the text in RTF format including it's bold, italic and colour information etc. As far as I can make out, TextAreaText() just returns plain text.

It's okay, I managed to hack together something using some clipboard shenanigans. Not exactly pretty but good enough for my needs.

Just need to knock up a rudimentary RTF->HTML converter now. ;o)


Thanks anyway.


Grisu(Posted 2007) [#4]
Btw:
Is it possible to read a rtf file into a textarea gadget?
So the exact opposite.