Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to scroll text in a TextArea to a given line number & position?



  • How to scroll text in a TextArea to a given line number & position? The difficulty is that to scroll you need to know the exact x,y coordinate whereas TextArea only exposes the positionToRectangle() function which seems to be inherited from TextField which is single-line only.


Log in to reply