Selection box customization. [message #194765] |
Mon, 05 September 2005 21:17 |
Eclipse User |
|
|
|
Originally posted by: kevin.cs.washington.edu
I'm trying to make a XML/DOM-based editor that supports both text and
images.
How do you make the EditPart selection look like a text input cursor
when you are using the keyboard to move the cursor next to an image, and
make it look like the normal selection box when you click the image?
I'm actually not sure how I'm going to implement the cursor (any hints
would be appreciated), but my first guess is to use an integer index
that maps to the DOM objects, and increment/decrement the cursor's
integer position according to keyboard/mouse navigation input.
|
|
|
Re: Selection box customization. [message #194773 is a reply to message #194765] |
Mon, 05 September 2005 21:19 |
Eclipse User |
|
|
|
Originally posted by: kevin.cs.washington.edu
Kevin Chiu wrote:
> I'm trying to make a XML/DOM-based editor that supports both text and
> images.
>
> How do you make the EditPart selection look like a text input cursor
> when you are using the keyboard to move the cursor next to an image, and
> make it look like the normal selection box when you click the image?
>
> I'm actually not sure how I'm going to implement the cursor (any hints
> would be appreciated), but my first guess is to use an integer index
> that maps to the DOM objects, and increment/decrement the cursor's
> integer position according to keyboard/mouse navigation input.
Gah, nevermind, stupid oversight.
|
|
|
Powered by
FUDForum. Page generated in 0.03892 seconds