I am using a textedit along with some other components in a Qt Gui Application. I wish to introduce line numbering and line highlighting to the textedit. I referred to various links but it shows only single textedit on the entire Main Window instead I want to use textedit as well as other gui components. Can someone help me for this? I am posting the link that I referred.

http://qt-project.org/doc/qt-4.8/wid...odeeditor.html