On Sat, Jul 22, 2023 at 01:42:37PM +0200, Jean-Marc Lasgouttes wrote:
> Le 21/07/2023 ?? 16:27, Pavel Sanda a écrit :
> >Clearly the idea was to iterate over all paragraphs in the range of
> >[cur.selectionBegin();cur.selectionEnd()]. However ++c.pit() increases only
> >paragraph number (c.slices_[
Le 21/07/2023 à 16:27, Pavel Sanda a écrit :
Clearly the idea was to iterate over all paragraphs in the range of
[cur.selectionBegin();cur.selectionEnd()]. However ++c.pit() increases only
paragraph number (c.slices_[0].pit_) and let the relative cursor position
within paragraph c.slices_[0].pos_
On Wed, Jul 19, 2023 at 02:50:50PM +0200, Pavel Sanda wrote:
> it seems that paragraph settings are not applied to the last paragraph of
> selected text.
>
> To reproduce:
> 1. Have two paragraphs
> 2. Make selection starting *in the middle* of the first paragraph and ending
> at the end of the
Hello,
it seems that paragraph settings are not applied to the last paragraph of
selected text.
To reproduce:
1. Have two paragraphs
2. Make selection starting *in the middle* of the first paragraph and ending at
the end of the second paragraph
(Strangely if selection starts in the begining