# generated by 'rake generate'
require 'cocoa/bindings/NSText'
module Cocoa
  class NSTextView < Cocoa::NSText
    attach_method :acceptableDragTypes, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :acceptsGlyphInfo, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :alignJustified, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :allowedInputSourceLocales, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :allowsDocumentBackgroundColorChange, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :allowsImageEditing, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :allowsUndo, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :backgroundColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :breakUndoCoalescing, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :changeAttributes, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :changeColor, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :changeDocumentBackgroundColor, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :changeLayoutOrientation, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :characterIndexForInsertionAtPoint, :args=>1, :names=>[], :types=>["{CGPoint=dd}"], :retval=>"Q"
    attach_method :checkTextInDocument, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :checkTextInRange, :args=>3, :names=>[:types, :options], :types=>["{_NSRange=QQ}", "Q", "@"], :retval=>"v"
    attach_method :checkTextInSelection, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :cleanUpAfterDragOperation, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :clickedOnLink, :args=>2, :names=>[:atIndex], :types=>["@", "Q"], :retval=>"v"
    attach_method :complete, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :completionsForPartialWordRange, :args=>2, :names=>[:indexOfSelectedItem], :types=>["{_NSRange=QQ}", "^q"], :retval=>"@"
    attach_method :defaultParagraphStyle, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :delegate, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :didChangeText, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :displaysLinkToolTips, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :dragImageForSelectionWithEvent, :args=>2, :names=>[:origin], :types=>["@", "^{CGPoint=dd}"], :retval=>"@"
    attach_method :dragOperationForDraggingInfo, :args=>2, :names=>[:type], :types=>["@", "@"], :retval=>"Q"
    attach_method :dragSelectionWithEvent, :args=>3, :names=>[:offset, :slideBack], :types=>["@", "{CGSize=dd}", "B"], :retval=>"B"
    attach_method :drawInsertionPointInRect, :args=>3, :names=>[:color, :turnedOn], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@", "B"], :retval=>"v"
    attach_method :drawViewBackgroundInRect, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"v"
    attach_method :drawsBackground, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :enabledTextCheckingTypes, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :handleTextCheckingResults, :args=>6, :names=>[:forRange, :types, :options, :orthography, :wordCount], :types=>["@", "{_NSRange=QQ}", "Q", "@", "@", "q"], :retval=>"v"
    attach_method :importsGraphics, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :initWithFrame, [{:args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"@"}, {:args=>2, :names=>[:textContainer], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "@"], :retval=>"@"}]
    attach_method :insertCompletion, :args=>4, :names=>[:forPartialWordRange, :movement, :isFinal], :types=>["@", "{_NSRange=QQ}", "q", "B"], :retval=>"v"
    attach_method :insertText, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :insertionPointColor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :invalidateTextContainerOrigin, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :isAutomaticDashSubstitutionEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isAutomaticDataDetectionEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isAutomaticLinkDetectionEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isAutomaticQuoteSubstitutionEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isAutomaticSpellingCorrectionEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isAutomaticTextReplacementEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isCoalescingUndo, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isContinuousSpellCheckingEnabled, :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 :isGrammarCheckingEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isIncrementalSearchingEnabled, :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 :layoutManager, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :linkTextAttributes, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :loosenKerning, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :lowerBaseline, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :markedTextAttributes, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :orderFrontLinkPanel, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :orderFrontListPanel, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :orderFrontSharingServicePicker, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :orderFrontSpacingPanel, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :orderFrontSubstitutionsPanel, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :orderFrontTablePanel, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :outline, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :pasteAsPlainText, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :pasteAsRichText, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :performFindPanelAction, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :preferredPasteboardTypeFromArray, :args=>2, :names=>[:restrictedToTypesFromArray], :types=>["@", "@"], :retval=>"@"
    attach_method :quickLookPreviewableItemsInRanges, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :raiseBaseline, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :rangeForUserCharacterAttributeChange, :args=>0, :names=>[], :types=>[], :retval=>"{_NSRange=QQ}"
    attach_method :rangeForUserCompletion, :args=>0, :names=>[], :types=>[], :retval=>"{_NSRange=QQ}"
    attach_method :rangeForUserParagraphAttributeChange, :args=>0, :names=>[], :types=>[], :retval=>"{_NSRange=QQ}"
    attach_method :rangeForUserTextChange, :args=>0, :names=>[], :types=>[], :retval=>"{_NSRange=QQ}"
    attach_method :rangesForUserCharacterAttributeChange, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :rangesForUserParagraphAttributeChange, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :rangesForUserTextChange, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :readSelectionFromPasteboard, [{:args=>1, :names=>[], :types=>["@"], :retval=>"B"}, {:args=>2, :names=>[:type], :types=>["@", "@"], :retval=>"B"}]
    attach_method :readablePasteboardTypes, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :registerForServices, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :replaceTextContainer, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :rulerView, [{:args=>2, :names=>[:didAddMarker], :types=>["@", "@"], :retval=>"v"}, {:args=>2, :names=>[:didMoveMarker], :types=>["@", "@"], :retval=>"v"}, {:args=>2, :names=>[:didRemoveMarker], :types=>["@", "@"], :retval=>"v"}, {:args=>2, :names=>[:handleMouseDown], :types=>["@", "@"], :retval=>"v"}, {:args=>2, :names=>[:shouldAddMarker], :types=>["@", "@"], :retval=>"B"}, {:args=>2, :names=>[:shouldMoveMarker], :types=>["@", "@"], :retval=>"B"}, {:args=>2, :names=>[:shouldRemoveMarker], :types=>["@", "@"], :retval=>"B"}, {:args=>3, :names=>[:willAddMarker, :atLocation], :types=>["@", "@", "d"], :retval=>"d"}, {:args=>3, :names=>[:willMoveMarker, :toLocation], :types=>["@", "@", "d"], :retval=>"d"}]
    attach_method :selectedRanges, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :selectedTextAttributes, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :selectionAffinity, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :selectionGranularity, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :selectionRangeForProposedRange, :args=>2, :names=>[:granularity], :types=>["{_NSRange=QQ}", "Q"], :retval=>"{_NSRange=QQ}"
    attach_method :setAcceptsGlyphInfo, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setAlignment, :args=>2, :names=>[:range], :types=>["Q", "{_NSRange=QQ}"], :retval=>"v"
    attach_method :setAllowedInputSourceLocales, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setAllowsDocumentBackgroundColorChange, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setAllowsImageEditing, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setAllowsUndo, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setAutomaticDashSubstitutionEnabled, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setAutomaticDataDetectionEnabled, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setAutomaticLinkDetectionEnabled, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setAutomaticQuoteSubstitutionEnabled, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setAutomaticSpellingCorrectionEnabled, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setAutomaticTextReplacementEnabled, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setBackgroundColor, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setBaseWritingDirection, :args=>2, :names=>[:range], :types=>["q", "{_NSRange=QQ}"], :retval=>"v"
    attach_method :setConstrainedFrameSize, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
    attach_method :setContinuousSpellCheckingEnabled, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setDefaultParagraphStyle, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setDelegate, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setDisplaysLinkToolTips, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setDrawsBackground, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setEditable, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setEnabledTextCheckingTypes, :args=>1, :names=>[], :types=>["Q"], :retval=>"v"
    attach_method :setFieldEditor, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setGrammarCheckingEnabled, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setImportsGraphics, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setIncrementalSearchingEnabled, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setInsertionPointColor, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setLayoutOrientation, :args=>1, :names=>[], :types=>["q"], :retval=>"v"
    attach_method :setLinkTextAttributes, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setMarkedTextAttributes, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setNeedsDisplayInRect, :args=>2, :names=>[:avoidAdditionalLayout], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}", "B"], :retval=>"v"
    attach_method :setRichText, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setRulerVisible, :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"}, {:args=>3, :names=>[:affinity, :stillSelecting], :types=>["{_NSRange=QQ}", "Q", "B"], :retval=>"v"}]
    attach_method :setSelectedRanges, [{:args=>1, :names=>[], :types=>["@"], :retval=>"v"}, {:args=>3, :names=>[:affinity, :stillSelecting], :types=>["@", "Q", "B"], :retval=>"v"}]
    attach_method :setSelectedTextAttributes, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setSelectionGranularity, :args=>1, :names=>[], :types=>["Q"], :retval=>"v"
    attach_method :setSmartInsertDeleteEnabled, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setSpellingState, :args=>2, :names=>[:range], :types=>["q", "{_NSRange=QQ}"], :retval=>"v"
    attach_method :setTextContainer, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setTextContainerInset, :args=>1, :names=>[], :types=>["{CGSize=dd}"], :retval=>"v"
    attach_method :setTypingAttributes, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setUsesFindBar, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setUsesFindPanel, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setUsesFontPanel, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setUsesInspectorBar, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setUsesRuler, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :shouldChangeTextInRange, :args=>2, :names=>[:replacementString], :types=>["{_NSRange=QQ}", "@"], :retval=>"B"
    attach_method :shouldChangeTextInRanges, :args=>2, :names=>[:replacementStrings], :types=>["@", "@"], :retval=>"B"
    attach_method :shouldDrawInsertionPoint, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :showFindIndicatorForRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"v"
    attach_method :smartDeleteRangeForProposedRange, :args=>1, :names=>[], :types=>["{_NSRange=QQ}"], :retval=>"{_NSRange=QQ}"
    attach_method :smartInsertAfterStringForString, :args=>2, :names=>[:replacingRange], :types=>["@", "{_NSRange=QQ}"], :retval=>"@"
    attach_method :smartInsertBeforeStringForString, :args=>2, :names=>[:replacingRange], :types=>["@", "{_NSRange=QQ}"], :retval=>"@"
    attach_method :smartInsertDeleteEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :smartInsertForString, :args=>4, :names=>[:replacingRange, :beforeString, :afterString], :types=>["@", "{_NSRange=QQ}", "^@", "^@"], :retval=>"v"
    attach_method :spellCheckerDocumentTag, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :startSpeaking, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :stopSpeaking, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :textContainer, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :textContainerInset, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
    attach_method :textContainerOrigin, :args=>0, :names=>[], :types=>[], :retval=>"{CGPoint=dd}"
    attach_method :textStorage, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :tightenKerning, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :toggleAutomaticDashSubstitution, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :toggleAutomaticDataDetection, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :toggleAutomaticLinkDetection, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :toggleAutomaticQuoteSubstitution, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :toggleAutomaticSpellingCorrection, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :toggleAutomaticTextReplacement, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :toggleBaseWritingDirection, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :toggleContinuousSpellChecking, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :toggleGrammarChecking, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :toggleQuickLookPreviewPanel, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :toggleSmartInsertDelete, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :toggleTraditionalCharacterShape, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :turnOffKerning, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :turnOffLigatures, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :typingAttributes, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :updateDragTypeRegistration, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :updateFontPanel, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :updateInsertionPointStateAndRestartTimer, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :updateQuickLookPreviewPanel, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :updateRuler, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :useAllLigatures, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :useStandardKerning, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :useStandardLigatures, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :usesFindBar, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :usesFindPanel, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :usesFontPanel, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :usesInspectorBar, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :usesRuler, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :validRequestorForSendType, :args=>2, :names=>[:returnType], :types=>["@", "@"], :retval=>"@"
    attach_method :writablePasteboardTypes, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :writeSelectionToPasteboard, [{:args=>2, :names=>[:type], :types=>["@", "@"], :retval=>"B"}, {:args=>2, :names=>[:types], :types=>["@", "@"], :retval=>"B"}]
  end
end
