hi,
I am using QTextEdit to display large files (containing more than 500000 lines). (around 2 min.). I am also using Syntax Highlighter for coloring of the lines

It take long time to load it, as i display the contents after reading the complete file (show.).
My complete application is blocked for that time and i cannot operate on other widgets.

Is there anyway, to display a part of file (with sytax highlighting) and process the file later on in the backend and add it to the editor.

Please post if any code snippets are available.

Thanking you,

regards,
sree