replacemethod "notifyEdited:range:changeInLength:invalidatedRange:" with same
error "PR2to40Conversion: notifyEdited:range:changeInLength:invalidatedRange: is obsolete"
replacemethod "verifyEdited:range:changeInLength:" with same
error "PR2to40Conversion: verifyEdited:range:changeInLength: is obsolete"
replace "[<obj> attributedStringFromRTF:<arg>]" with "[[[<obj> alloc] initWithRTF:<arg> documentAttributes:NULL] autorelease]"
replace "[<obj> attributedStringFromRTFD:<arg>]" with "[[[<obj> alloc] initWithRTFD:<arg> documentAttributes:NULL] autorelease]"
replace "[<obj> attributedStringFromRTFDFile:<arg>]" with "[[[<obj> alloc] initWithPath:<arg> documentAttributes:NULL] autorelease]"
replace "[<obj> RTFFromRange:<arg>]" with same
warning "PR2to40Conversion: RTFDFromRange: in NSAttributedString is now RTFFromRange:documentAttributes:; if this method is being sent to an attributed string or text storage, use [<obj> RTFFromRange:<arg> documentAttributes:nil]. If it is sent to a text view, no change is necessary."
replace "[<obj> RTFDFromRange:<arg>]" with same
warning "PR2to40Conversion: RTFDFromRange: in NSAttributedString is now RTFDFromRange:documentAttributes:; if this method is being sent to an attributed string or text storage, use [<obj> RTFDFromRange:<arg> documentAttributes:nil]. If it is sent to a text view, no change is necessary."
replace "[<obj> writeRTFDToFile:<path> atomically:<flag>]" with same
warning "PR2to40Conversion: writeRTFDToFile:atomically: in NSAttributedString has changed; if this method is being sent to an attributed string or text storage, use [[<obj> RTFDFileWrapperFromRange:NSMakeRange(0, [<obj> length]) documentAttributes:nil] writeToFile:<path> atomically:<flag> updateFilenames:YES]. (Use NO if this is a \"save to\" rather than \"save as\" or \"save\".) If it is sent to a text view, no change is necessary."
replace "NSAttributedStringEditedAttributes" with "NSTextStorageEditedAttributes"
replace "NSAttributedStringEditedCharacters" with "NSTextStorageEditedCharacters"
replace "[<obj> setHotSpot:<arg>]" with same
warning "PR2to40Conversion: -[NSCursor setHotSpot:] is now obsolete; you can no longer dynamically change the hotSpot of a cursor. Use -[NSCursor initWithImage:hotSpot:] instead."