My cursor blinks in the middle of paragraph 3 of the text flow, no character selected.
I've selected some characters.
How can I get the no. of the paragraph via scripting? If I use »selection« I always get the insertion point (1) or a »character x to character y« (2), but I can't figure out, how to get the paragraph number out of this.