Re: Best approach for selective spell-checking...

2009-07-20 Thread Daniel Jalkut
Hi Jim - On Jul 20, 2009, at 11:01pm, Jim Correia wrote: It would be nice if NSSpellChecker offered a delegate relationship, something like "willMarkMispelledWordInRange:" ... where I could choose to have it keep quiet instead. or the delegate variant: - (NSInteger)textView:(NSTextView *)t

Best approach for selective spell-checking...

2009-07-20 Thread Daniel Jalkut
I'm trying to figure out how to prevent spell checking in my NSTextView from being applied to certain ranges within the text document. For context, the situation I'm in is my application, MarsEdit, allows users to edit HTML source code in a regular NSTextView. In a nutshell, I want to

Re: Open-source NSToolbar?

2008-04-07 Thread Daniel Jalkut
Cocotron is a great place to look for things like this: http://cocotron.googlecode.com/svn/trunk/AppKit/NSToolbar.subproj/ Don't know how well developed the NSToolbar is, but in general they have a lot of cool stuff ported. Daniel On Apr 7, 2008, at 12:47 PM, John Stiles wrote: I'm looking

Re: How do I disable this warning: "local declaration of 'varname' hides instance variable"

2008-03-23 Thread Daniel Jalkut
On Mar 24, 2008, at 1:11 AM, Daniel Jalkut wrote: Look in your build settings. Turn off the "Hidden Local Variables" warning: Whoops ! Looks like I was wrong about that. Doesn't actually disable the particular instance-var hiding warning. So maybe even the compiler ref

Re: How do I disable this warning: "local declaration of 'varname' hides instance variable"

2008-03-23 Thread Daniel Jalkut
On Mar 24, 2008, at 1:04 AM, charlie wrote: This is why I didn't want to reveal **why** I want to suppress this warning. Because everyone feels compelled to pitch in their 2 cents on this tangent subject which has already been explored and closed on my end. I could care less what anyone e