To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=88041
User tl changed the following: What |Old value |New value ================================================================================ Assigned to|tl |khong -------------------------------------------------------------------------------- Status|STARTED |NEW -------------------------------------------------------------------------------- ------- Additional comments from [EMAIL PROTECTED] Thu Apr 10 08:44:29 +0000 2008 ------- TL->Karl Hong: The problem is that the breakiterators 'nextWord' function does not adavance beyon the closing bracket at position 19. Instead when that function is called with an index of 19 the found boundary start falls back to 18. This is not expected, it would be fine for a 'getCurrentWird' function to fall back in the position if the start index was within the word. But the 'nextWord' must never fall back before the starting index. It should always either advance at least one position or return a value that the end of the text is reached. I thought about solving the problem in the EditEngine's WordRight function by enforcing the advancement of the position. But since the 'nextWord' function is used in other places and modules as well I think it would be best if the code to enforce that the position advances would be put in the breakiterator code since there it needs to be done only once. (I am unsure though what should happen if the rest of the text is only white spaces. Should it advance one index by one or should it simply jump to to the end and report the text as being fully processed...) Thus it would be great if you could add such a code sniplet to the nextWord function. And probably similar code to the 'previousWord' function. Please take over! Thanks! --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]