markup or rtf text

Just starting out? Need help? Post your questions and find answers here.
User avatar
Derren
Enthusiast
Enthusiast
Posts: 313
Joined: Sat Jul 23, 2011 1:13 am
Location: Germany

Re: markup or rtf text

Post by Derren »

You have to write a parser for the markup language you want to use and then still use DrawText()

There are some codes on this forum for TextGadgets based on the Canvas, though. Perhaps there's something you can use.
This for example doesn't use MarkUp, though, but behaves more like the ScintillaGadget where you add bits of text with their corresponding style.

http://www.purebasic.fr/english/viewtop ... vas+editor