On Wed, Jul 24, 2013, at 02:53 PM, Gordon Apple wrote:
> That link seems to have fallen victim to the outage.
> 
> I have added a background setting for selected text.  I suppose I could
> do
> that here, but that would defeat what I am trying to do, which is to be
> able
> to paint the text background (possibly with a Wacom pen) in the same way
> one
> would use a highlighting pen on paper.  Because this is intended for an
> educational presentation system, I would like to be able to do this
> during
> the presentation, then later reset for another class session.  Thus the
> custom attributes, which can all be easily removed with a single button
> click.  The active highlighting works (even the iBeam cursor with color
> patch), but I need the mouseUp (selection ended) to set the custom
> background, remove the custom selection highlighting, revert the cursor,
> etc.  The switching from selection highlighting to custom background
> attribute color completes the illusion.

Have you tried applying the attribute in -mouseUp:, after calling super?

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to