Created attachment 64949 [details]
commented text range
Normal behavior of Writer for text selection:
double-click -> select a word
triple-click -> select a sentence
four clicks -> select a paragraph
How to reproduce this bug:
Write a paragraph with several sentences. Create a comment on a text range. Try to select a word within this text range.
double-click -> select the full comment
triple-click -> select the first sentence of the text range, whatever sentence you try to select.
Try this with the attached file.
Confirmed with Version 188.8.131.52.alpha0+ (Build ID: 0c6bc6e) from 2012-07-28 under Windows XP.
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":
fdo#52960 SwCursor::SelectWordWT fix text selection in commented text ranges
This is now resolved in master.