https://bugs.documentfoundation.org/show_bug.cgi?id=98769

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #8 from Justin L <[email protected]> ---
Also true with a regex search for '.*' for a similar-expectation example.

IIUC this is because we don't have one large selection, but a ring of
selections, each consisting of the contents of one paragraph - but not the
paragraph marker itself.

It is the same idea as holding down Ctrl and selecting multiple phrases out of
various paragraphs. When you paste that, the phrases are all strung out in a
single line. And in this example that seems like the correct response.

But lets just keep this discussion restricted to paragraph styles.

So then the key would be to select the ENTIRE paragraph when searching for
paragraph selections. That sounds reasonable, and easily doable with
    rSearchPam.Move(fnMove, GoInContent); // select the paragraph marker as
well
although then we run into problems skipping over every other paragraph if they
are empty - see viewsrch.cxx's lcl_IsNotTextSearch.

But there is a bigger problem with selecting the entire paragraph. It means
that our cursor is in the next node too. So a replace action would affect the
paragraph style of the following paragraph also.

So, this needs to be a WONTFIX

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to