Re: Deconstructing Text Tables

2014-11-20 Thread Charles Jenkins
Thank you, Ken. It took some research and experimentation before I could understand your explanation, but it looks like that’s exactly what I needed. — Charles Jenkins On Tuesday, November 18, 2014 at 3:43 PM, Ken Thomases wrote: > On Nov 18, 2014, at 6:38 AM, Charles Jenkins (mailto:cejw.

Re: Deconstructing Text Tables

2014-11-18 Thread Ken Thomases
On Nov 18, 2014, at 6:38 AM, Charles Jenkins wrote: > It’s very easy to create an NSAttributedString that represents a text table, > then show the table in a TextView so the user can edit information in the > cells. The documentation on how to create a text table > (https://developer.apple.com

Re: Deconstructing Text Tables

2014-11-18 Thread Charles Jenkins
Keary, Thanks for responding. :-) Your answer is what I was afraid of… If “index” only applies to characters, and therefore index 0 is the position of the first visible character in the TextView’s NSAttributedString, I could iterate through, finding the range of each cell’s characters, then ju

Re: Deconstructing Text Tables

2014-11-18 Thread Keary Suska
On Nov 18, 2014, at 2:38 AM, Charles Jenkins wrote: > It’s very easy to create an NSAttributedString that represents a text table, > then show the table in a TextView so the user can edit information in the > cells. The documentation on how to create a text table > (https://developer.apple.com

Deconstructing Text Tables

2014-11-18 Thread Charles Jenkins
It’s very easy to create an NSAttributedString that represents a text table, then show the table in a TextView so the user can edit information in the cells. The documentation on how to create a text table (https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/TextLayout/Article