Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Is it a word, a sentence, or a paragraph?
I noticed that the document says QTextCursor::block() returns "the block that contains the cursor", but I'm not sure what does "block" mean here.
Well, it obviously refers to a QTextBlock, the type returned by that method. And a QTextBlock [quote]encapsulates a block or paragraph of text in a QTextDocument.[/quote] according to the documentation.
It is a paragraph.
Thank you both :)