Dear Friends
I need your help in implementing a TextEdit….I have the functionality of saving option of the text available in the TextEdit. But everytime user loads a file and when starts editing the file the contents changed in the file should be highlighted with some color. And when save it it should return back to the original black & white color.
I am not getting any idea about this. Any suggestions would be highly appreciated.
QString contents;
QTextEdit *textEdit = new QTextEdit(this);
textEdit->setPlainText(contents);
textEdit->show();
Now after displaying the contents user wants to modify the contents, so all the contents only the modified part should be highlighted with some color, and when save it then come back to the normal mode.
Bookmarks