[PyQt] Access to lines of text on textEdit.

Hans-Peter Jansen hpj at urpla.net
Tue Sep 14 01:09:10 BST 2010


On Tuesday 14 September 2010, 01:54:01 Algis Kabaila wrote:
> Is it possible to access lines of text in a textEdit?  If so how can I
> find information about it?

Depending on document type, try this:

	document().findBlockByLineNumber(lineNumber).text()

Pete


More information about the PyQt mailing list