Aaron
Aaron

Reputation: 199

Add formatted text to SynEdit

How can I add formatted text to a SynEdit control? I don't actually need syntax highlighting, I want to be able to control the colors of specific parts of a line.

I am currently using a TRichEdit and setting SelAttributes.Color and SelAttributes.Text in order to achieve this effect. It works fine, but I am hoping to get away from using TRichEdit.

Can I do something similar with SynEdit, or is it not the ideal component for the job?

Upvotes: 4

Views: 689

Answers (0)

Related Questions