# generated by 'rake generate'
require 'cocoa/bindings/NSView'
module Cocoa
  class NSText < Cocoa::NSView
    attach_method :RTFDFromRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"@"
    attach_method :RTFFromRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"@"
    attach_method :alignCenter, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :alignLeft, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :alignRight, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :alignment, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :backgroundColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :baseWritingDirection, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :changeFont, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :checkSpelling, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :copy, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :copyFont, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :copyRuler, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :cut, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :delegate, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :delete, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :drawsBackground, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :font, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :importsGraphics, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isEditable, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isFieldEditor, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isHorizontallyResizable, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isRichText, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isRulerVisible, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isSelectable, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isVerticallyResizable, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :maxSize, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
    attach_method :minSize, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
    attach_method :paste, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :pasteFont, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :pasteRuler, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :readRTFDFromFile, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
    attach_method :replaceCharactersInRange, [{:args=>2, :names=>[:withRTF], :types=>["{_NSRange=QQ}", "@"], :retval=>"v"}, {:args=>2, :names=>[:withRTFD], :types=>["{_NSRange=QQ}", "@"], :retval=>"v"}, {:args=>2, :names=>[:withString], :types=>["{_NSRange=QQ}", "@"], :retval=>"v"}]
    attach_method :scrollRangeToVisible, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"v"
    attach_method :selectAll, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :selectedRange, :args=>0, :names=>[], :types=>[], :retval=>"{_NSRange=QQ}"
    attach_method :setAlignment, :args=>1, :names=>[], :types=>["Q"], :retval=>"v"
    attach_method :setBackgroundColor, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setBaseWritingDirection, :args=>1, :names=>[], :types=>["q"], :retval=>"v"
    attach_method :setDelegate, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setDrawsBackground, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setEditable, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setFieldEditor, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setFont, [{:args=>1, :names=>[], :types=>["@"], :retval=>"v"}, {:args=>2, :names=>[:range], :types=>["@", "{_NSRange=QQ}"], :retval=>"v"}]
    attach_method :setHorizontallyResizable, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setImportsGraphics, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setMaxSize, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
    attach_method :setMinSize, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
    attach_method :setRichText, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setSelectable, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setSelectedRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"v"
    attach_method :setString, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setTextColor, [{:args=>1, :names=>[], :types=>["@"], :retval=>"v"}, {:args=>2, :names=>[:range], :types=>["@", "{_NSRange=QQ}"], :retval=>"v"}]
    attach_method :setUsesFontPanel, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setVerticallyResizable, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :showGuessPanel, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :sizeToFit, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :string, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :subscript, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :superscript, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :textColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :toggleRuler, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :underline, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :unscript, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :usesFontPanel, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :writeRTFDToFile, :args=>2, :names=>[:atomically], :types=>["@", "B"], :retval=>"B"
  end
end
