On 15 Oct. 2016, at 12:43 am, tridiak <trid...@ihug.co.nz> wrote:
> This works up to 12. Above that, it sticks to 12.

Are you sure you're just not seeing them because the text in some columns is 
longer than you tab width? 

I just made a simple example with this:

    NSMutableAttributedString *mas = [[NSMutableAttributedString alloc] 
    NSMutableParagraphStyle *style = [[NSMutableParagraphStyle alloc] init];
    NSMutableArray* ma=[NSMutableArray array];
    for (int t=0; t< 31; t++) {
        [ma addObject:[[NSTextTab alloc] initWithType:NSLeftTabStopType 
    [style setTabStops:ma];
    [mas addAttribute:NSParagraphStyleAttributeName value:style 
    [self.textView insertText:mas];

It works as expected.

Shane Stanley <sstan...@myriad-com.com.au>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>


Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to arch...@mail-archive.com

Reply via email to