NSTextView stores its data in a NSTextStorage object. NSTextStorage descends from NSMutableAttributed string, so that gives us a clue.Â
The easiest thing to do is to make a category on the NSAttributedString class to do whatever it is you want containing something like the following.Â
Â
    NSRange range;Â
    int i;Â
    int L = [self length];Â
            Â
    i = 0;Â
    while(i<L) {Â
        // get all the attributes we are interested inÂ
        NSDictionary* attributes = [self attributesAtIndex: i effectiveRange: &range];Â
        NSAttributedString* attPart = [self attributedSubstringFromRange: range];Â
        NSString* part = [attPart string];Â
        NSFont* font = [attributes objectForKey: NSFontAttributeName];Â
        NSColor* color = [attributes objectForKey: @”NSColor”];Â
        NSParagraphStyle* paraStyle = [attributes objectForKey: NSParagraphStyleAttributeName];Â
        NSShadow* shadow = [attributes objectForKey: NSShadowAttributeName];Â
        NSURL* link = [attributes objectForKey: NSLinkAttributeName];Â
        Â
        NSTextAttachment* attachment = [attributes objectForKey: NSAttachmentAttributeName];Â
        Â
        // process your attributed string pieces hereÂ
Â
        i = range.location+range.length;Â
    }Â
I think you can also just say:
[[aTextView textStorage] string]
Obviously getting the attachments is a whole lot harder.
The point of the above code is to access the attributes of the text in the NSTextView
vrq payday loan for aitox
gwp 30 day loan payday sgbgg