Hello people!

I want to know how a QTextEdit is enabled with syntax highlighting. Can anyone give me the procedure to check 'C' programming syntax in texteditor. I tried with
Qt Code:
  1. QSyntaxHighlighter * syntaxHighlighter () const
To copy to clipboard, switch view to plain text mode 

but finding difficulty in using this option. Please post a reply.