# generated by 'rake generate'
require 'cocoa/bindings/NSAttributedString'
module Cocoa
  class NSMutableAttributedString < Cocoa::NSAttributedString
    attach_method :addAttribute, :args=>3, :names=>[:value, :range], :types=>["@", "@", "{_NSRange=QQ}"], :retval=>"v"
    attach_method :addAttributes, :args=>2, :names=>[:range], :types=>["@", "{_NSRange=QQ}"], :retval=>"v"
    attach_method :appendAttributedString, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :applyFontTraits, :args=>2, :names=>[:range], :types=>["Q", "{_NSRange=QQ}"], :retval=>"v"
    attach_method :beginEditing, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :deleteCharactersInRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"v"
    attach_method :endEditing, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :fixAttachmentAttributeInRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"v"
    attach_method :fixAttributesInRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"v"
    attach_method :fixFontAttributeInRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"v"
    attach_method :fixParagraphStyleAttributeInRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"v"
    attach_method :insertAttributedString, :args=>2, :names=>[:atIndex], :types=>["@", "Q"], :retval=>"v"
    attach_method :mutableString, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :readFromData, [{:args=>3, :names=>[:options, :documentAttributes], :types=>["@", "@", "^@"], :retval=>"B"}, {:args=>4, :names=>[:options, :documentAttributes, :error], :types=>["@", "@", "^@", "^@"], :retval=>"B"}]
    attach_method :readFromURL, [{:args=>3, :names=>[:options, :documentAttributes], :types=>["@", "@", "^@"], :retval=>"B"}, {:args=>4, :names=>[:options, :documentAttributes, :error], :types=>["@", "@", "^@", "^@"], :retval=>"B"}]
    attach_method :removeAttribute, :args=>2, :names=>[:range], :types=>["@", "{_NSRange=QQ}"], :retval=>"v"
    attach_method :replaceCharactersInRange, [{:args=>2, :names=>[:withAttributedString], :types=>["{_NSRange=QQ}", "@"], :retval=>"v"}, {:args=>2, :names=>[:withString], :types=>["{_NSRange=QQ}", "@"], :retval=>"v"}]
    attach_method :setAlignment, :args=>2, :names=>[:range], :types=>["Q", "{_NSRange=QQ}"], :retval=>"v"
    attach_method :setAttributedString, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setAttributes, :args=>2, :names=>[:range], :types=>["@", "{_NSRange=QQ}"], :retval=>"v"
    attach_method :setBaseWritingDirection, :args=>2, :names=>[:range], :types=>["q", "{_NSRange=QQ}"], :retval=>"v"
    attach_method :subscriptRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"v"
    attach_method :superscriptRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"v"
    attach_method :unscriptRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"v"
    attach_method :updateAttachmentsFromPath, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
  end
end
