Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sintax highlghting

Status
Not open for further replies.

proguru

Programmer
Mar 31, 2001
19
PY
How can i use sintax coloring in a rich edit control in c++ Builder. Is there a free component?
 
I dont know if this is the best way or the right way to do it but I have done light syntax highlights by checking if the last Char entered was a space and if so I selected the word before the space and compared it to a list and if it was on the list I changed its color. It seems a dirty rough way of doing it. But It worked fine for what I did. A small program.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top