On 29 May 2010, at 23:16, Joshua Shapiro wrote:
[...] Is there a way I can format this string data so
recognizes it is a columnar selection?
You need to store a property list as the OakTextMatePboardType with a
‘content’ key (actual string) and ‘rectangular’ set to the string
id plist = [NSDictionary dictionaryWithObjectsAndKeys:
NSPasteboard* pboard = [NSPasteboard generalPasteboard];
[pboard setPropertyList:plist forType:@"OakTextMatePboardType"];
In practice you also want to provide an NSStringPboardType alternative.
Note that this is not a documented pasteboard type so no guarantees
about future compatibility with this format etc.