Issue 62343

Summary: Thesaurus doesn't works correct when the cursor is behind the word.
Product: General Reporter: christian.guenther
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: issues
Version: 680m155   
Target Milestone: AOO Later   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description christian.guenther 2006-02-20 16:56:23 UTC
- start an Impress, Draw or Calc
- create a textbox and write the word Test
- set the cursor behind the word (stay in the editmode)
- press Ctrl+F7 to start Thesaurus
- The Thesaurus dialog appears but is empty.
- when I place the cursor in front of the word or in the middle of the word
thesaurus works correct.
- in The writer thesaurus works also correct when the cursor is behind the word.
Comment 1 thomas.lange 2006-02-21 08:27:57 UTC
.
Comment 2 milek_pl 2007-10-11 18:13:29 UTC
this is an additional aspect of the behavior in the duplicated issue

*** This issue has been marked as a duplicate of 65822 ***
Comment 3 thomas.lange 2007-10-12 08:51:49 UTC
I don't think that it is a duplicate. 
- First: the other issue is about having multiple word queries in the thesaurus
- Second: This issues applies only for Draw/Impress and Calc.
  Thus the issue should be cloned and each of those applications should become
  it own copy.
Comment 4 thomas.lange 2007-10-12 09:02:37 UTC
Sorry I was wrong since the same behavior applies in Writer textboxes. Thus it
is a general 'feature' of the EditEngine.

Still I'd like to argue that this is the correct behavior since there are not in
all languages spaces between words. If we in the future we may have a Chinese
thesaurus this behaviour would be correct since there is no space between words.
Thus if you are at the start of the forth word you are also at the end of the
third word. Thus only one side can be chosen.
Thus basically this behavior is correct.

Still if there is a space (or other delimiter) at the end of the word one might
change the behavior to choosing the word in front in that cases.

TL->FL: What do you think?