Bug Hunting Session
Bug 83584 - EDITING Word Completion does not offer a word, when cursor is not before a whitespace character or end of the document
Summary: EDITING Word Completion does not offer a word, when cursor is not before a wh...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.1.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-07 11:07 UTC by vlesiil
Modified: 2014-09-14 11:06 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vlesiil 2014-09-07 11:07:21 UTC
Next word is being offered by Word Completion only when next character is a whitespace character (space, tab, newline) or when there is nothing (end of the document) after the cursor.

While this makes sense, when we're in the middle of a word, Word Completion could actually make a suggestion when there's a punctuation character after the cursor and a whitespace character or another punctuation character before the cursor, e.g.:

                           v - whitespace character
    Conducting is an art of direc|.
                        cursor - ^^ - punctuation character, offer next word here

                                 v - punctuation character
    Cetiosaurus oxoniensis was a "prim|", quadrupedal
                             cursor - ^^ - punct. character, offer next word here
Comment 1 Owen Genat (retired) 2014-09-14 11:06:29 UTC
Seems like a reasonable request. The presumption is to ignore certain characters adjacent to (following) the cursor e.g., full stop, question mark, exclamation mark, comma, semi-colon, colon, quotation marks, brackets, and maybe forward slash. Status set to NEW. Severity set to enhancement. Platform set to All/All.