Re: NSTableView inside NSTextView

2014-10-17 Thread Ulf Dunkel
Lee Ann, thank you for pointing me to the TextEdit sources which I had already checked. They do not even contain the terms "NSTable" or "NSTextTable" at all. TextEdit seems to keep all text content in a simple NSTextView. They just added the system method -orderFrontTablePanel: to the app menu

RE: NSTableView inside NSTextView

2014-10-16 Thread Lee Ann Rucker
mware@lists.apple.com] on behalf of Ulf Dunkel [dun...@calamus.net] Sent: Thursday, October 16, 2014 5:13 AM To: Cocoa Development Subject: NSTableView inside NSTextView When I place a table (NSTableView) in an TextEdit document, I can easily resize the column width of any table column using the mouse pointer,

Re: NSTableView inside NSTextView

2014-10-16 Thread Charles Jenkins
Well, that page gives you enough example code to make it trivial to create one, try it out, and see if it does what you need. :-) -- Charles On Thursday, October 16, 2014 at 10:43, Ulf Dunkel wrote: > Charles, > > so I should investigate on NSTextTable instead of NSTableView, right? > >

Re: NSTableView inside NSTextView

2014-10-16 Thread Ulf Dunkel
Charles, so I should investigate on NSTextTable instead of NSTableView, right? - - - - - Am 16.10.2014 um 14:41 schrieb Charles Jenkins: Ulf, As you can see from my text view struggles, I’m no expert, but I don’t think you’ll have a lot of success trying to stick an NSTableView into an NSText

Re: NSTableView inside NSTextView

2014-10-16 Thread Charles Jenkins
Ulf, As you can see from my text view struggles, I’m no expert, but I don’t think you’ll have a lot of success trying to stick an NSTableView into an NSTextView. The kind of table you put inside a text view is a different animal: really just a fancy attributed string the text system knows how

NSTableView inside NSTextView

2014-10-16 Thread Ulf Dunkel
When I place a table (NSTableView) in an TextEdit document, I can easily resize the column width of any table column using the mouse pointer, just by dragging the column border lines to and fro. In my app, I want to use the same tables (NSTableView), but inside NSTextView containers in a layou