Re: Selection and insertion point handling w/ NSTextAttachments
Re: Selection and insertion point handling w/ NSTextAttachments
- Subject: Re: Selection and insertion point handling w/ NSTextAttachments
- From: "Louis C. Sacha" <email@hidden>
- Date: Wed, 6 Oct 2004 13:06:39 -0700
Hello...
Have you tried putting one or two spaces with a really small font
size in between each of the images?
You would probably have to do a bit of checking when the user
pastes/deletes images to make sure that there are still the correct
number of spaces between each of the images involved. As long as
there aren't a huge number of images, the processing time for
iterating through all of them to maintain the correct number of
spaces shouldn't be too bad, so the implementation probably wouldn't
even need to be too complex.
Hope that helps...
Louis
I'm using an NSTextView to display a series of small images and no
text. The user should be able to select, cut / copy / paste, delete
the images. The problem is that you can't click between 2
consecutive images to place the insertion point for editing. You
also can't drag across several consecutive images to select them. Is
there a solution to this? I've considered overriding mouseDown:,
mouseUp: & mouseDragged: to do this myself. Is there a better
solution?
Thanks,
Glen Simmons
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden