Problem getting NSTextView Ruler to update

2011-11-23 Thread Marshall Houskeeper
I am attempting to programmatically setup the tabs for a simple NSTextView view. I need to have the entire NSTextView use the same tab stops. I set the tabs with the following code: void Write_Tabs(NSArray* tabs, NSTextView* text_view) { NSMutableParagraphStyle *paragraph_style =

Transparent window not getting mouse down events

2012-01-31 Thread Marshall Houskeeper
I would like to create a transparent window that spans all the screens and that handles mouse down events. Below is the code that I use to create my transparent window. The transparent window gets created and display successfully. However, mouse down events are not directed to the window.

Re: Transparent window not getting mouse down events

2012-02-01 Thread Marshall Houskeeper
to be more clear on the side effect. Regards, Marshall On Jan 31, 2012, at 11:24 PM, Ron Fleckner wrote: > > On 01/02/2012, at 7:59 AM, Marshall Houskeeper wrote: > >> I would like to create a transparent window that spans all the screens and >> that handles mouse down e

Help Debugging NSPredicateEditor reloadCriteria Exception

2009-12-15 Thread Marshall Houskeeper
Under 10.6.2 my program is throwing an exception when I call the NSPredicateEditor method reloadCriteria. I do not see the behavior on earlier releases of 10.6 or 10.5. When the exception is thrown the stack is the following: #0 0x96f624e6 in objc_exception_throw () #1 0x95657138 in +[NS

Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Marshall Houskeeper
Our document file format currently stores file paths and file alias to external files. We can potentially have several thousand references to external files stored in a document. When we move to a sandbox environment, we will store Security-Scoped Bookmarks. What is the suggested method to h

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Marshall Houskeeper
> user chooses, or you can just validate the returned URL when the open panel > is completed. There's no way to tell the panel to freeze itself on a specific > file. > > > On Oct 3, 2012, at 08:15 , Marshall Houskeeper > wrote: > >> When we move to a sandbox enviro

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Marshall Houskeeper
. Note; I am not trying to start a sandbox flame war. Marshall On Oct 3, 2012, at 4:34 PM, Quincey Morris wrote: > On Oct 3, 2012, at 12:44 , Marshall Houskeeper > wrote: > >> Our plan is to use Security-Scoped Bookmarks for all new documents to store >> external file

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Marshall Houskeeper
media the has been moved or restored to a new location. Marshall On Oct 4, 2012, at 1:08 PM, Mike Abdullah wrote: > > On 3 Oct 2012, at 22:02, Marshall Houskeeper wrote: > >> >> Hi Quincey, >> >> I have no problem with the use of the open panel ( security-

Getting the view for a contextual menu

2009-02-20 Thread Marshall Houskeeper
I have setup a contextual menu in interface builder that sends an action to my controller. I have several similar views that will have the same contextual menu. When I invoke the contextual menu, the controller's IBAction function gets called as expected. The sender passed to the fun