To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54401





------- Additional comments from [EMAIL PROTECTED] Thu Jan 26 20:28:28 -0800 
2006 -------
I tried to replicate the error by typing the exact same sequence of characters
as in SpellCheckAndAttributes.sxw in a new text document. To my surprise the
error did not occur. I made sure that all the characters including new line
characters in the 2 files are identical and still got the same results. 

I found something interesting about the problem. 

In the text given in SpellCheckAndAttribute.sxw the font of the  'space
character' immediately before and after 'Thiss' on the 2nd and 3rd lines
respectively is different from the rest of the document. This is not explicitly
visible as only the font of the 2 spaces are different.

To support this:

we can place the cursor on the second line  right before 'Thiss' and type
something. It is going to be typed in the small blue font that the replaced
suggestion appears in when the misspelled word on that line is replaced. 

Similarly we can place the cursor on the 3rd line right after 'Thiss' and type
something it is going to be typed in the small pink vertical font  the replaced
suggestion appears in when the misspelled word on that line is replaced. In
other words.

Hypothesis:

It looks like the real source of the problem is the fact that spell checker,
while replacing mis-spelled words, chooses the font of the character immediately
before the  mis-spelled word for the suggestion. 

This was tested and the results were supporting the idea.

Here's how I tested it.

1- open new text document
2- write 'This is not a big mistaak , a small problem in fact' . 
3- Place the cursor before 'mistaak'.
4- change the font to something different and the color to say red and  type a
space. 
5- now place the cursor right after 'big' and press the delete button to delete
the extra space from the front of it. 

The text looks exactly the same as the previous one but if we run the spell
checker and replace 'mistaak' with some suggestion, the suggestion is going to
be written in the font that we previously chose for the space character.

See the 2nd attached file and run the spell checker on it. The lines look
identical except for that white space in a different font  before 'mistaak'.

---------------------------------------------------------------------
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]

Reply via email to