> New patch attached. I don't have time to test it right now but will
> later. But it should work.
i'm sure i knew how to deliver correct params to paragraph-params-apply,
but now my guesses dont work :) please can you give me samples for params
for centering or (no)indent for paragraph-params lfun ?
> >> for (pit_type pit = cur.selBegin().pit(), end = cur.selEnd().pit();
> >> pit <= end; ++pit) {
> >>
> >
> >If you make a selection and there are nested insets (branches,
> >floats), these inner paragraphs will not be affected. I am not sure
> >this is what we want (otherwise the loop should use a ParIterator,
> >which is not more difficult).
> >
> This code was just copied from what already existed, so the problem was
> there before, if it is there now. I'm still not sure I understand these
> ParIterators---though thanks for the earlier info---so if you want to
> look at the updated patch, which I'll send later, and tell me what to
> do, I'd be grateful.
i would intuitively expect more that paragraphs inside the insets wont be
changed by this. but it may be difficult to gain consesus on this.
what others think ?
> Modulo this, which should be straightforward. We could also check
> whether \noindent is legitimate.
>
> Richard
looking on the rest of the patch i didnt see how to easily make indent
toggling as i made available in previous patches. is it still possible to make
something like "paragraph-indent toggle" ? i started to use it and became
almost addicted to it :)
thanks for your work on this.
pavel