#PB_Editor_RTF flag for GetGadgetText()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

#PB_Editor_RTF flag for GetGadgetText()

Post by Joakim Christiansen »

This would make the whole world much bether! (it gets the RTF encoding)

Code: Select all

String.s = GetGadgetText(#Editor,#PB_Editor_RTF)
SetGadgetText(#Editor2,String) ;And one could use this to put the nice formatted text info another editor gadget
EDIT:
I had to make my own functions for this: :wink:
http://www.purebasic.fr/english/viewtopic.php?t=22443
I like logic, hence I dislike humans but love computers.