hello all,

i have the following problem hope one can help:
i am writing a tool wich displays a textfile using QTextEdit.
i want that QTextEdit to be readonly, since text shall not be modified by the user
but just inspected.

after having set
Qt Code:
  1. myTextEdit->setReadOnly(true)
To copy to clipboard, switch view to plain text mode 
the cursor gets invisible when trying to click somewhere into the text.

i am thinking to implement a current-line functionality and display at what line the cursor is currently placed and need that cursor to be visible during movement (scrolling).

how would one do that!?
thnx alot.
cheers.