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





------- Additional comments from [EMAIL PROTECTED] Wed Apr 18 23:41:11 +0000 
2007 -------
The reason that you see the "empty" selection is because you did start to make a
selection. Consider the following:

Nothing selected:
Empty selection representing the current cursor position

Select a single area:
One selection

Now, how do you select multiple areas? it causes you to enter a multi-selection
mode. The method usually is done as follows:
1. Select initial area any way you desire.
2. Hold down the control key and place the cursor at a specific point
3. Hold down the left mouse button (you just set the cursor)
4. Now drag the mouse and release (you just set the cursor again)

and you have three selections. On a whim, Hold down the control key and use the
cursor keys to move the cursor. You still have three selections but they all
contain text.

If you stop at step three and then use the keyboard to move the mouse, then you
do not start the third selection.

My guess is that this behavior represents how the controller works internally. 

mroe, I had to read your message a few times to understand what you were 
saying...

I never have selections.getCount() return zero.
I do not always have an empty selection.

I think that what you really want to say is that you should never return an
empty selection. Be careful, because that empty selection may have something of
interest attached to it such as an image. I did test and try to select some
text, a graphic, and some text, but the act of selecting the graphic
"unselected" the text. The returned object was then the graphic and NOT a
selections object.

That said, I rarely care about the empty selection...



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