Re: NSSpellChecker -ignoreWord:… for NSTextCheckingTypeGrammar?

2013-08-20 Thread Troy Stephens
that result will cause that grammar checking result to be ignored. > > It would be perfectly reasonable for you to maintain your own ignore list and > filter grammar-check results based on it. > > Douglas Davidson > > On Aug 8, 2013, at 7:41 AM, Troy Stephens wrote: > &g

NSSpellChecker -ignoreWord:… for NSTextCheckingTypeGrammar?

2013-08-14 Thread Troy Stephens
:… for spell-check results only. If want to be able to ignore grammar results, maybe I need to maintain my own grammar “ignore” list and filter received grammar-check results based on it. Info appreciated if anyone else has run into this. My searching hasn’t turned up any answers. -- Troy

Re: Layer-hosting views and layer-backed scroll views

2010-05-21 Thread Troy Stephens
On May 21, 2010, at 10:52 AM, Kyle Sluder wrote: > On Fri, May 21, 2010 at 10:37 AM, Troy Stephens wrote: >> CALayers don't support the same notion of "flippedness" that NSView's >> geometry model uses. (CALayer's "geometryFlipped" property is

Re: Layer-hosting views and layer-backed scroll views

2010-05-21 Thread Troy Stephens
positioning problem. By the way: I don't know whether CAGradientLayer disregards -setNeedsDisplay (since the layer renders its content programmatically), possibly making this irrelevant in practice, but in cases like this, where you provide a layer of your own that already has co

Re: Animating view transitions with Core Animation (problems with BasicCocoaAnimations sample)

2008-10-16 Thread Troy Stephens
Hi Jim, On Oct 13, 2008, at 3:51 PM, Jim Correia wrote: I have some old NSAnimation based code that I'd like to update to use Core Animation. Since BasicCocoaAnimations [1] does essentially what I want to do (at least for starters) I am using that as a starting point. [1] http://developer

Re: CATextLayer and subpixel anti-aliasing

2008-03-28 Thread Troy Stephens
ntact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/tstephens%40apple.com This email sent to [EMAIL PROTECTED] -- Troy Stephens Cocoa Frameworks Apple, Inc. _

Re: NSScroller question

2008-03-28 Thread Troy Stephens
SRect rect = [self rectForPart:NSScrollerKnobSlot]; [[NSColor greenColor] set]; [NSBezierPath fillRect:rect]; } @end On Fri, Mar 28, 2008 at 12:41 AM, Troy Stephens <[EMAIL PROTECTED]> wrote: On Mar 27, 2008, at 4:26 PM, [EMAIL PROTECTED] wrote: Thanks, but the corner view

Re: NSScroller question

2008-03-27 Thread Troy Stephens
e(s), and change the ScrollView's verticalScroller's frame (shrink and move down, since ScrollViews are flipped) to make room for them. On Thu, Mar 27, 2008 at 9:53 PM, Troy Stephens <[EMAIL PROTECTED]> wrote: On Mar 27, 2008, at 9:50 AM, [EMAIL PROTECTED] wrote: Hi, NSScroller has a

Re: Static in Subclasses

2008-03-27 Thread Troy Stephens
On Mar 27, 2008, at 2:05 PM, Hamish Allan wrote: On Thu, Mar 27, 2008 at 8:44 PM, Justin Giboney <[EMAIL PROTECTED]> wrote: How can I get a variable that is static to each subclass, but that is declared in the super class? In short, you can't. "static" in C means "within the scope of the sour

Re: How to get current renderer for an NSOpenGLView?

2008-03-27 Thread Troy Stephens
ify the applicable renderer from among those available. That's the most direct route that I'm aware of, but you may be able to get a better recommendation from the experts on the Mac-OpenGL list. -- Troy Stephens Cocoa Frameworks Apple, Inc. __

Re: CoreAnimation weird problems with NSView animator

2008-03-27 Thread Troy Stephens
template) but I can't see how this can be a problem. Any help is greatly appreciated. M -- Troy Stephens Cocoa Frameworks Apple, Inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comment

Re: NSScroller question

2008-03-27 Thread Troy Stephens
iling the enclosingScrollView to accomodate the size change. The default value is an internal class that properly fills in the corner. */ - (void)setCornerView:(NSView *)cornerView; - (NSView *)cornerView; -- Troy Stephens Cocoa Frameworks Apple

Re: applicationWillTerminate and animations

2008-03-27 Thread Troy Stephens
responsive to the user's request to quit seems more valuable to me. -- Troy Stephens Cocoa Frameworks Apple, Inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Conta