[Libreoffice-bugs] [Bug 125887] Handling protected space (U+00a0) at word bounds

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jun 29 12:40:45 UTC 2019


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

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|hot key selectWord          |Handling protected space
                   |malfunctions if there is a  |(U+00a0) at word bounds
                   |protected space before the  |
                   |word                        |
                 CC|                            |vstuart.foote at utsa.edu
           Keywords|                            |needsUXEval

--- Comment #4 from V Stuart Foote <vstuart.foote at utsa.edu> ---
Not sure this is a bug.

Use of the NBS (U+00a0) depends on placement relative to punctuation. That is
when prepended (i.e. following the comma) is included with a "double click"
mouse selection.  Likewise is included when the NBS is appended (i.e. preceding
the closing parehnthesis ). And again included with the "double click" mouse
selection, or the "Select Word" UNO action.

So this handling of NBS is either hard coded in edit engine, or is an ICU lib
function (have not checked src).

Believe it is wrapped up in the way we handle selection at ICU 'word' bounds.
And we have at least three UNO actions that can be used.

1. double mouse click
2. Select Word (assigned by OP, but action of double mouse click) 
3. Select to Beginning of Word (assigned <Ctl>+<Shift>+<L cursor>)
4. Select to Word Right (assigned <Ctl>+<Shift>+<R cursor>)

Anyhow the handling is consistent--the NBS is included with the correct word
depending on leading or trailing punctuation. So Not A Bug?

And, to select the literal of the middle word, rather than double click or the
"Select Word" action--position cursor and select to begining of Word, or select
to end of Word (labeled as Select to Word Right)--both of which have assigned
keyboard shortcuts.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190629/f338fc26/attachment-0001.html>


More information about the Libreoffice-bugs mailing list