setLogicalStyle(int offset, Style style)
what is mend by offset here:
1) the offset number of a paragraph like first, second etc paragraph?
2) or the offset within a specific paragraph?
3) the offset within the complete document?
If so 2) how one knows what is the current paragraph?
Or in other words: is the offset number always a character offset.
or can it be anything like paragraph, etc?
the same here:
setParagraphAttributes(int offset,
int length,
AttributeSet s,
boolean replace)