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

--- Comment #13 from Mike Kaganski <[email protected]> ---
(In reply to Stéphane Guillou (stragu) from comment #10)
> OOo 3.3 used to ignore the space and move the cursor to before the space,
> ending with an empty selection and an empty string as a shortcut.
> OOo 3.3 wouldn't allow spaces in the Shortcut field either.

Also note that this is not strictly correct. Before that fix, F3 didn't simply
allow space - it looked for the *closest word*. So it could choose the *next*
word, like in

  lorem |ipsum

where | denotes the caret position - here it would try to convert "ipsum".
Indeed, when typing new text, this isn't obvious.

If I implemented what is asked here, I would try to convert my code

  pWrtShell->PrvWrd(true);

which selects back the same way as pressing Shift+Ctrl+ArrowLeft, into the
sequence of Ctrl+ArrowLeft (which would go to the start of the previous word
without selecting), and then selecting the closest word, as before my change:

  pWrtShell->PrvWrd(false);
  pWrtShell->SelNearestWrd();

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

Reply via email to