[Libreoffice-ux-advise] [Bug 155949] EDITING: Extending selection to next word includes after-word space

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 16 04:50:30 UTC 2023


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

--- Comment #5 from Jim Raykowski <raykowj at gmail.com> ---
The UNO command WordRightSel activated by Ctrl+Shift+Right is labeled 'Select
to End of Word'. What actually happens is selection to the start of the next
word. I would expect selection to the end of the current word when the cursor
is not already at the end of the word or to the end of the next word when the
cursor is at the end of a word.

Code pointers:
WordRightSel UNO is handled here:
sw/source/uibase/shells/txtcrsr.cxx
SwTextShell::ExecMoveLingu
case FN_NEXT_WORD_SEL:
One possible approach is to make a function SwWrtShell::SelectToEndOfNextWord()
to replace the use of SwWrtShell::NxtWrd( true ) here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list