Platforms to show: All Mac Windows Linux Cross-Platform
Cocoa Text
Classes for styled text handling in Cocoa.
- Classes
- class NSAdaptiveImageGlyphImageMBS
- method Constructor
- property CGImage as Variant
- property Glyph as NSAdaptiveImageGlyphMBS
- property imageOffsetX as Double
- property imageOffsetY as Double
- property imageSizeHeight as Double
- property imageSizeWidth as Double
- property NSImage as NSImageMBS
- property Picture as Picture
- property proposedSizeHeight as Double
- property proposedSizeWidth as Double
- class NSAdaptiveImageGlyphMBS
- method Constructor(Data as MemoryBlock)
- method copy as NSAdaptiveImageGlyphMBS
- method imageForProposedSize(proposedSizeWidth as Double, proposedSizeHeight as Double, ScaleFactor as Double = 2) as NSAdaptiveImageGlyphImageMBS
- method insert(control as Variant, replacementRange as NSRangeMBS)
- property attributedString as NSAttributedStringMBS
- property contentDescription as String
- property contentIdentifier as String
- shared property contentType as String
- property Handle as Integer
- property imageContent as MemoryBlock
- class NSAttributedStringMBS
- method AsCFAttributedString as Variant
- method attributeAtIndex(name as string, location as UInt64) as Variant
- method attributeAtIndex(name as string, location as UInt64, inRange as NSRangeMBS) as Variant
- method attributeAtIndex2(name as string, location as UInt64, byref effectiveRange as NSRangeMBS) as Variant
- method attributeAtIndex2(name as string, location as UInt64, byref longestEffectiveRange as NSRangeMBS, inRange as NSRangeMBS) as Variant
- shared method attributedStringWithAdaptiveImageGlyph(adaptiveImageGlyph as NSAdaptiveImageGlyphMBS, withAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithAttachment(attachment as NSTextAttachmentMBS) as NSAttributedStringMBS
- shared method attributedStringWithAttributedString(text as NSAttributedStringMBS) as NSAttributedStringMBS
- shared method attributedStringWithDocFormat(data as memoryblock) as NSAttributedStringMBS
- shared method attributedStringWithDocFormat(data as memoryblock, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithHTML(data as memoryblock) as NSAttributedStringMBS
- shared method attributedStringWithHTML(data as memoryblock, BaseURL as string) as NSAttributedStringMBS
- shared method attributedStringWithHTML(data as memoryblock, BaseURL as string, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithHTML(data as memoryblock, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithHTMLOld(data as string) as NSAttributedStringMBS
- shared method attributedStringWithPath(file as folderitem) as NSAttributedStringMBS
- shared method attributedStringWithPath(file as folderitem, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithPath(path as string) as NSAttributedStringMBS
- shared method attributedStringWithPath(path as string, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithRTF(data as memoryblock) as NSAttributedStringMBS
- shared method attributedStringWithRTF(data as memoryblock, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithRTFD(data as memoryblock) as NSAttributedStringMBS
- shared method attributedStringWithRTFD(data as memoryblock, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithString(text as string) as NSAttributedStringMBS
- shared method attributedStringWithString(text as string, withAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithURL(file as folderitem) as NSAttributedStringMBS
- shared method attributedStringWithURL(file as folderitem, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithURL(url as string) as NSAttributedStringMBS
- shared method attributedStringWithURL(url as string, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- method attributedSubstringFromRange(range as NSRangeMBS) as NSAttributedStringMBS
- method attributesAtIndex(location as UInt64) as dictionary
- method attributesAtIndex(location as UInt64, inRange as NSRangeMBS) as dictionary
- method attributesAtIndex2(location as UInt64, byref range as NSRangeMBS) as dictionary
- method attributesAtIndex2(location as UInt64, byref range as NSRangeMBS, inRange as NSRangeMBS) as dictionary
- method boundingRectWithSize(size as NSSizeMBS, Options as Integer = 0) as NSRectMBS
- method Constructor
- method Convert_Operator as string
- method copy as NSAttributedStringMBS
- method CopyToClipboard as Boolean
- method dataFromRange(offset as Integer, length as Integer, documentAttributes as dictionary = nil, byref error as NSErrorMBS) as memoryblock
- method docFormatFromRange(documentAttributes as dictionary = nil) as MemoryBlock
- method docFormatFromRange(offset as Integer, length as Integer, documentAttributes as dictionary = nil) as MemoryBlock
- method fileWrapperFromRange(offset as Integer, length as Integer, documentAttributes as dictionary = nil, byref Error as NSErrorMBS) as NSFileWrapperMBS
- shared method FromClipboard as NSAttributedStringMBS
- method GeneratePDF(PrintOptions as Variant = nil) as MemoryBlock
- method htmlString as string
- method initWithAttributedString(text as NSAttributedStringMBS) as boolean
- method initWithDocFormat(data as MemoryBlock) as boolean
- method initWithDocFormat(data as memoryblock, byref documentAttributes as dictionary) as boolean
- method initWithHTML(data as MemoryBlock) as boolean
- method initWithHTML(data as MemoryBlock, BaseURL as string) as boolean
- method initWithHTML(data as memoryblock, BaseURL as string, byref documentAttributes as dictionary) as boolean
- method initWithHTML(data as memoryblock, byref documentAttributes as dictionary) as boolean
- method initWithHTML(data as memoryblock, options as Dictionary, byref documentAttributes as dictionary) as boolean
- method initWithHTMLOld(data as string) as boolean
- method initWithPath(file as folderitem) as boolean
- method initWithPath(file as folderitem, byref documentAttributes as dictionary) as boolean
- method initWithPath(path as string) as boolean
- method initWithPath(path as string, byref documentAttributes as dictionary) as boolean
- method initWithRTF(data as MemoryBlock) as boolean
- method initWithRTF(data as memoryblock, byref documentAttributes as dictionary) as boolean
- method initWithRTFD(data as MemoryBlock) as boolean
- method initWithRTFD(data as memoryblock, byref documentAttributes as dictionary) as boolean
- method initWithString(text as string) as boolean
- method initWithString(text as string, withAttributes as Dictionary) as boolean
- method initWithURL(file as folderitem) as boolean
- method initWithURL(file as folderitem, byref documentAttributes as dictionary) as boolean
- method initWithURL(url as string) as boolean
- method initWithURL(url as string, byref documentAttributes as dictionary) as boolean
- method isEqualToAttributedString(other as NSAttributedStringMBS) as Boolean
- method itemNumberInTextList(list as NSTextListMBS, location as Integer) as Integer
- method lineRangeForRange(range as NSRangeMBS) as NSRangeMBS
- method mutableCopy as NSMutableAttributedStringMBS
- shared method NSAttachmentAttributeName as string
- shared method NSAuthorDocumentAttribute as string
- shared method NSBackgroundColorAttributeName as string
- shared method NSBackgroundColorDocumentAttribute as string
- shared method NSBaselineOffsetAttributeName as string
- shared method NSBaseURLDocumentOption as string
- shared method NSBottomMarginDocumentAttribute as string
- shared method NSCategoryDocumentAttribute as string
- shared method NSCharacterEncodingDocumentAttribute as string
- shared method NSCharacterEncodingDocumentOption as string
- shared method NSCharacterShapeAttributeName as string
- shared method NSCocoaVersionDocumentAttribute as string
- shared method NSCommentDocumentAttribute as string
- shared method NSCompanyDocumentAttribute as string
- shared method NSConvertedDocumentAttribute as string
- shared method NSCopyrightDocumentAttribute as string
- shared method NSCreationTimeDocumentAttribute as string
- shared method NSCursorAttributeName as string
- shared method NSDefaultAttributesDocumentAttribute as string
- shared method NSDefaultAttributesDocumentOption as string
- shared method NSDefaultTabIntervalDocumentAttribute as string
- shared method NSDocFormatTextDocumentType as string
- shared method NSDocumentTypeDocumentAttribute as string
- shared method NSDocumentTypeDocumentOption as string
- shared method NSEditorDocumentAttribute as string
- shared method NSExcludedElementsDocumentAttribute as string
- shared method NSExpansionAttributeName as string
- shared method NSFileTypeDocumentAttribute as string
- shared method NSFileTypeDocumentOption as string
- shared method NSFontAttributeName as string
- shared method NSForegroundColorAttributeName as string
- shared method NSGlyphInfoAttributeName as string
- shared method NSHTMLTextDocumentType as string
- shared method NSHyphenationFactorDocumentAttribute as string
- shared method NSKernAttributeName as string
- shared method NSKeywordsDocumentAttribute as string
- shared method NSLeftMarginDocumentAttribute as string
- shared method NSLigatureAttributeName as string
- shared method NSLinkAttributeName as string
- shared method NSMacSimpleTextDocumentType as string
- shared method NSManagerDocumentAttribute as string
- shared method NSMarkedClauseSegmentAttributeName as string
- shared method NSModificationTimeDocumentAttribute as string
- shared method NSObliquenessAttributeName as string
- shared method NSOfficeOpenXMLTextDocumentType as string
- shared method NSOpenDocumentTextDocumentType as string
- shared method NSPaperSizeDocumentAttribute as string
- shared method NSParagraphStyleAttributeName as string
- shared method NSPlainTextDocumentType as string
- shared method NSPrefixSpacesDocumentAttribute as string
- shared method NSReadOnlyDocumentAttribute as string
- shared method NSRightMarginDocumentAttribute as string
- shared method NSRTFDTextDocumentType as string
- shared method NSRTFTextDocumentType as string
- shared method NSShadowAttributeName as string
- shared method NSSpellingStateAttributeName as string
- shared method NSStrikethroughColorAttributeName as string
- shared method NSStrikethroughStyleAttributeName as string
- shared method NSStrokeColorAttributeName as string
- shared method NSStrokeWidthAttributeName as string
- shared method NSSubjectDocumentAttribute as string
- shared method NSSuperscriptAttributeName as string
- shared method NSTextAlternativesAttributeName as string
- shared method NSTextEffectAttributeName as string
- shared method NSTextEffectLetterpressStyle as string
- shared method NSTextEncodingNameDocumentAttribute as string
- shared method NSTextEncodingNameDocumentOption as string
- shared method NSTextLayoutSectionOrientation as string
- shared method NSTextLayoutSectionRange as string
- shared method NSTextLayoutSectionsAttribute as string
- shared method NSTextSizeMultiplierDocumentOption as string
- shared method NSTimeoutDocumentOption as string
- shared method NSTitleDocumentAttribute as string
- shared method NSToolTipAttributeName as string
- shared method NSTopMarginDocumentAttribute as string
- shared method NSUnderlineColorAttributeName as string
- shared method NSUnderlineStyleAttributeName as string
- shared method NSVerticalGlyphFormAttributeName as string
- shared method NSViewModeDocumentAttribute as string
- shared method NSViewSizeDocumentAttribute as string
- shared method NSViewZoomDocumentAttribute as string
- shared method NSWebArchiveTextDocumentType as string
- shared method NSWebPreferencesDocumentOption as string
- shared method NSWebResourceLoadDelegateDocumentOption as string
- shared method NSWordMLTextDocumentType as string
- shared method NSWritingDirectionAttributeName as string
- shared method NSWritingToolsExclusionAttributeName as string
- method paragraphRangeForRange(range as NSRangeMBS) as NSRangeMBS
- method rangeOfTextBlock(textBlock as NSTextBlockMBS, location as Integer) as NSRangeMBS
- method rangeOfTextList(list as NSTextListMBS, location as Integer) as NSRangeMBS
- method rangeOfTextTable(textTable as NSTextTableMBS, location as Integer) as NSRangeMBS
- method rtf as MemoryBlock
- method RTFDFileWrapperFromRange(offset as Integer, length as Integer, documentAttributes as dictionary = nil) as NSFileWrapperMBS
- method RTFDFromRange(documentAttributes as dictionary = nil) as MemoryBlock
- method RTFDFromRange(offset as Integer, length as Integer, documentAttributes as dictionary = nil) as MemoryBlock
- method RTFFromRange(documentAttributes as dictionary = nil) as MemoryBlock
- method RTFFromRange(offset as Integer, length as Integer, documentAttributes as dictionary = nil) as MemoryBlock
- method size as NSSizeMBS
- property containsAttachments as boolean
- property Handle as Integer
- property length as Integer
- property Range as NSRangeMBS
- property text as string
- class NSFileWrapperMBS
- method addFileWrapper(child as NSFileWrapperMBS) as String
- method addRegularFileWithContents(Data as MemoryBlock, preferredFilename as string) as String
- method Constructor
- shared method initDirectoryWithFileWrappers(childrenByPreferredName as Dictionary) as NSFileWrapperMBS
- shared method initRegularFileWithContents(data as MemoryBlock) as NSFileWrapperMBS
- shared method initWithFile(File as folderItem, Options as Integer, byref error as NSErrorMBS) as NSFileWrapperMBS
- shared method initWithSerializedRepresentation(data as MemoryBlock) as NSFileWrapperMBS
- shared method initWithURL(URL as string, Options as Integer, byref error as NSErrorMBS) as NSFileWrapperMBS
- method keyForFileWrapper(child as NSFileWrapperMBS) as String
- method matchesContentsOfFile(File as FolderItem) as Boolean
- method matchesContentsOfURL(URL as String) as Boolean
- method readFromFile(File as FolderItem, Options as Integer = 0, byref Error as NSErrorMBS) as Boolean
- method readFromURL(URL as String, Options as Integer = 0, byref Error as NSErrorMBS) as Boolean
- method removeFileWrapper(child as NSFileWrapperMBS)
- method writeToFile(File as FolderItem, Options as Integer = 0, originalContentsURL as FolderItem = nil, byref Error as NSErrorMBS) as Boolean
- method writeToURL(URL as String, Options as Integer = 0, originalContentsURL as String = "", byref Error as NSErrorMBS) as Boolean
- property Directory as Boolean
- property fileAttributes as Dictionary
- property filename as String
- property fileWrappers as Dictionary
- property Handle as Integer
- property icon as NSImageMBS
- property preferredFilename as String
- property RegularFile as Boolean
- property regularFileContents as MemoryBlock
- property serializedRepresentation as MemoryBlock
- property SymbolicLink as Boolean
- property symbolicLinkDestinationURL as String
- class NSMutableAttributedStringMBS
- method addAttribute(name as string, value as Variant, range as NSRangeMBS)
- method addAttributes(attrs as Dictionary, range as NSRangeMBS)
- method appendAttributedString(attrString as NSAttributedStringMBS)
- method appendString(attrString as String)
- method applyFontTraits(FontTraitMask as Integer, offset as Integer, length as Integer)
- method AsCFMutableAttributedString as Variant
- method beginEditing
- method Constructor
- method containsAttachmentsInRange(offset as Integer, length as Integer) as Boolean
- method deleteCharactersInRange(range as NSRangeMBS)
- method endEditing
- method fixAttachmentAttributeInRange(offset as Integer, length as Integer)
- method fixAttributesInRange(offset as Integer, length as Integer)
- method fixFontAttributeInRange(offset as Integer, length as Integer)
- method fixParagraphStyleAttributeInRange(offset as Integer, length as Integer)
- method fontAttributesInRange(offset as Integer, length as Integer) as Dictionary
- method insertAttributedString(attrString as NSAttributedStringMBS, location as UInt64)
- method insertString(attrString as String, location as UInt64)
- method removeAttribute(name as string, range as NSRangeMBS)
- method replaceCharacters(search as String, text as String, Options as Integer = 1)
- method replaceCharactersInRange(range as NSRangeMBS, attrString as NSAttributedStringMBS)
- method replaceCharactersInRange(range as NSRangeMBS, text as string)
- method rulerAttributesInRange(offset as Integer, length as Integer) as Dictionary
- method setAlignment(alignment as Integer, offset as Integer, length as Integer)
- method setAttributedString(attrString as NSAttributedStringMBS)
- method setAttributes(attrs as Dictionary, range as NSRangeMBS)
- method setBaseWritingDirection(writingDirection as Integer, offset as Integer, length as Integer)
- method setString(attrString as String)
- method subscriptRange(offset as Integer, length as Integer)
- method superscriptRange(offset as Integer, length as Integer)
- method unscriptRange(offset as Integer, length as Integer)
- method updateAttachmentsFromPath(file as folderitem)
- method updateAttachmentsFromPath(path as string)
- class NSMutableParagraphStyleMBS
- method addTabStop(tabstop as NSTextTabMBS)
- method Constructor
- method removeTabStop(tabstop as NSTextTabMBS)
- method setAlignment(alignment as Integer)
- method setBaseWritingDirection(writingDirection as Integer)
- method setDefaultTabInterval(value as Double)
- method setFirstLineHeadIndent(value as Double)
- method setHeaderLevel(level as Integer)
- method setHeadIndent(value as Double)
- method setHyphenationFactor(value as Double)
- method setLineBreakMode(mode as Integer)
- method setLineHeightMultiple(value as Double)
- method setLineSpacing(value as Double)
- method setMaximumLineHeight(value as Double)
- method setMinimumLineHeight(value as Double)
- method setParagraphSpacing(value as Double)
- method setParagraphSpacingBefore(value as Double)
- method setParagraphStyle(ParagraphStyle as NSParagraphStyleMBS)
- method setTabStops(tabStops() as NSTextTabMBS)
- method setTailIndent(value as Double)
- method setTextBlocks(TextBlocks() as NSTextBlockMBS)
- method setTextLists(TextLists() as NSTextListMBS)
- method setTighteningFactorForTruncation(value as Double)
- class NSParagraphStyleMBS
- method Constructor
- method copy as NSParagraphStyleMBS
- shared method defaultParagraphStyle as NSParagraphStyleMBS
- shared method defaultWritingDirectionForLanguage(languageName as string) as Integer
- method mutableCopy as NSMutableParagraphStyleMBS
- shared method NSCenterTextAlignment as Integer
- shared method NSRightTextAlignment as Integer
- method tabStops as NSTextTabMBS()
- method textBlocks as NSTextBlockMBS()
- method textLists as NSTextListMBS()
- property alignment as Integer
- property baseWritingDirection as Integer
- property defaultTabInterval as Double
- property firstLineHeadIndent as Double
- property firstTabStop as NSTextTabMBS
- property firstTextList as NSTextListMBS
- property Handle as Integer
- property headerLevel as Integer
- property headIndent as Double
- property hyphenationFactor as Double
- property lineBreakMode as Integer
- property lineHeightMultiple as Double
- property lineSpacing as Double
- property maximumLineHeight as Double
- property minimumLineHeight as Double
- property paragraphSpacing as Double
- property paragraphSpacingBefore as Double
- property tailIndent as Double
- property tighteningFactorForTruncation as Double
- class NSShadowMBS
- method Constructor
- method copy as NSShadowMBS
- method set
- property Handle as Integer
- property shadowBlurRadius as Double
- property shadowColor as NSColorMBS
- property shadowOffset as NSSizeMBS
- class NSTextAttachmentMBS
- shared method attributedStringWithAttachment(attachment as NSTextAttachmentMBS) as NSAttributedStringMBS
- method Constructor(fileWrapper as NSFileWrapperMBS)
- method Constructor(image as NSImageMBS)
- property attachmentCell as Variant
- property bounds as NSRectMBS
- property contents as MemoryBlock
- property fileType as String
- property fileWrapper as NSFileWrapperMBS
- property Handle as Integer
- property image as NSImageMBS
- class NSTextBlockMBS
- method borderColor(edge as Integer) as NSColorMBS
- method Constructor
- method copy as NSTextBlockMBS
- method setBorderColor(color as NSColorMBS)
- method setBorderColor(color as NSColorMBS, edge as Integer)
- method setContentWidth(value as double, ValueType as Integer)
- method setValue(value as double, ValueType as Integer, dimension as Integer)
- method setWidth(value as double, ValueType as Integer, Layer as Integer)
- method setWidth(value as double, ValueType as Integer, Layer as Integer, edge as Integer)
- method valueForDimension(dimension as Integer) as Double
- method valueTypeForDimension(dimension as Integer) as Integer
- method width(layer as Integer, edge as Integer) as double
- method widthValueType(layer as Integer, edge as Integer) as Integer
- property backgroundColor as NSColorMBS
- property contentWidth as Double
- property contentWidthValueType as Integer
- property Handle as Integer
- property verticalAlignment as Integer
- class NSTextContainerMBS
- method Constructor
- method Constructor(size as NSSizeMBS)
- method containsPoint(p as NSPointMBS) as boolean
- method isSimpleRectangularTextContainer as boolean
- method replaceLayoutManager(l as NSLayoutManagerMBS)
- property Handle as Integer
- property containerSize as NSSizeMBS
- property heightTracksTextView as boolean
- property layoutManager as NSLayoutManagerMBS
- property lineFragmentPadding as Double
- property textView as NSTextViewMBS
- property widthTracksTextView as boolean
- class NSTextListMBS
- method Constructor(format as String, OptionsMask as Integer = 0)
- method copy as NSTextListMBS
- method markerForItemNumber(ItemNum as Integer) as String
- shared method NSTextListMarkerBox as String
- shared method NSTextListMarkerCheck as String
- shared method NSTextListMarkerCircle as String
- shared method NSTextListMarkerDecimal as String
- shared method NSTextListMarkerDiamond as String
- shared method NSTextListMarkerDisc as String
- shared method NSTextListMarkerHyphen as String
- shared method NSTextListMarkerLowercaseAlpha as String
- shared method NSTextListMarkerLowercaseHexadecimal as String
- shared method NSTextListMarkerLowercaseLatin as String
- shared method NSTextListMarkerLowercaseRoman as String
- shared method NSTextListMarkerOctal as String
- shared method NSTextListMarkerSquare as String
- shared method NSTextListMarkerUppercaseAlpha as String
- shared method NSTextListMarkerUppercaseHexadecimal as String
- shared method NSTextListMarkerUppercaseLatin as String
- shared method NSTextListMarkerUppercaseRoman as String
- property Handle as Integer
- property listOptions as Integer
- property markerFormat as String
- property startingItemNumber as Integer
- class NSTextMBS
- method alignCenter
- method alignLeft
- method alignRight
- method changeFont
- method checkSpelling
- method Constructor
- method Constructor(Handle as Integer)
- method Constructor(left as Double, top as Double, width as Double, height as Double)
- method copy
- method copyFont
- method copyRuler
- method cut
- method delete
- method isRulerVisible as boolean
- method maxSizeHeight as Double
- method maxSizeWidth as Double
- method minSizeHeight as Double
- method minSizeWidth as Double
- shared method NSCenterTextAlignment as Integer
- shared method NSRightTextAlignment as Integer
- method paste
- method pasteFont
- method pasteRuler
- method readRTFDFromFile(file as folderitem) as boolean
- method replaceCharactersInRangeWithRTF(start as Integer, length as Integer, rtfData as MemoryBlock)
- method replaceCharactersInRangeWithRTFD(start as Integer, length as Integer, rtfdData as MemoryBlock)
- method replaceCharactersInRangeWithString(start as Integer, length as Integer, text as string)
- method RTFDFromRange(start as Integer, length as Integer) as MemoryBlock
- method RTFFromRange(start as Integer, length as Integer) as MemoryBlock
- method scrollRangeToVisible(start as Integer, length as Integer)
- method selectAll
- method setFontForRange(font as NSFontMBS, start as Integer, length as Integer)
- method setMaxSize(width as Double, height as Double)
- method setMinSize(width as Double, height as Double)
- method setTextColorForRange(colorValue as NSColorMBS, start as Integer, length as Integer)
- method showGuessPanel
- method sizeToFit
- method subscript
- method superscript
- method textLength as Integer
- method toggleRuler
- method underline
- method unscript
- method writeRTFDToFile(file as folderitem, atomically as boolean) as boolean
- property alignment as Integer
- property backgroundColor as NSColorMBS
- property baseWritingDirection as Integer
- property drawsBackground as boolean
- property Enabled as boolean
- property font as NSFontMBS
- property importsGraphics as boolean
- property isEditable as boolean
- property isFieldEditor as boolean
- property isHorizontallyResizable as boolean
- property isRichText as boolean
- property isSelectable as boolean
- property isVerticallyResizable as boolean
- property selectedRange as NSRangeMBS
- property text as string
- property textColor as NSColorMBS
- property usesFontPanel as boolean
- event textDidBeginEditing
- event textDidChange
- event textDidEndEditing
- event textShouldBeginEditing as boolean
- event textShouldEndEditing as boolean
- class NSTextStorageMBS
- method addLayoutManager(l as NSLayoutManagerMBS)
- method changeInLength as Integer
- method Constructor
- method editedMask as Integer
- method editedRange as NSRangeMBS
- method ensureAttributesAreFixedInRange(Range as NSRangeMBS)
- method fixesAttributesLazily as boolean
- method invalidateAttributesInRange(Range as NSRangeMBS)
- method processEditing
- method removeLayoutManager(l as NSLayoutManagerMBS)
- class NSTextTableBlockMBS
- method Constructor
- method Constructor(table as NSTextTableMBS, startingRow as Integer, rowSpan as Integer, startingColumn as Integer, colSpan as Integer)
- property columnSpan as Integer
- property rowSpan as Integer
- property startingColumn as Integer
- property startingRow as Integer
- property table as NSTextTableMBS
- class NSTextTableMBS
- method Constructor
- property collapsesBorders as Boolean
- property hidesEmptyCells as Boolean
- property layoutAlgorithm as Integer
- property numberOfColumns as Integer
- class NSTextTabMBS
- method Constructor
- method Constructor(alignment as Integer, location as Double, options as dictionary)
- method Constructor(type as Integer, location as Double)
- method copy as NSTextTabMBS
- property alignment as Integer
- property Handle as Integer
- property location as Double
- property options as Dictionary
- property tabStopType as Integer
- class NSUndoManagerMBS
- method beginUndoGrouping
- method canRedo as boolean
- method canUndo as boolean
- method Constructor
- method disableUndoRegistration
- method enableUndoRegistration
- method endUndoGrouping
- method groupingLevel as Integer
- method isRedoing as boolean
- method isUndoing as boolean
- method isUndoRegistrationEnabled as boolean
- method redo
- method redoActionName as string
- method redoMenuItemTitle as string
- method redoMenuTitleForUndoActionName(actionName as string) as string
- method removeAllActions
- method setActionName(actionName as string)
- method undo
- method undoActionName as string
- method undoMenuItemTitle as string
- method undoMenuTitleForUndoActionName(actionName as string) as string
- method undoNestedGroup
- property Handle as Integer
- property groupsByEvent as boolean
- property levelsOfUndo as Integer
- class NSAdaptiveImageGlyphImageMBS
- Examples
- /MacBase/NSAttributedString document attributes
- /MacCocoa/NSStatusItem/StatusItem
- /MacCocoa/RTF Printing
- /MacCocoa/Text in titlebar
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource
- /MacFrameworks/Cocoa Controls/Custom NSView
- /Util/BugreporterKit/BugReporter
- /Win/RTF Windows
- /MacControls/TokenField/TokenField with data class
- /MacFrameworks/Cocoa Controls/TextView with events
- Blog Entries
- News from the MBS Xojo Plugins in Version 25.1
- MonkeyBread Software Releases the MBS Xojo Plugins in version 25.1
- MonkeyBread Software Releases the MBS Xojo Plugins in version 25.0
- RTF functions in MBS Plugins
- News from the MBS Xojo Plugins in version 21.5
- Styled Text for Labels in your Xojo iOS app
- Tip of the day: Adding links to Textarea on OS X
- Extracting text from files
- Using NSTextViewMBS
- MBS Releases the MBS Real Studio plug-ins in version 12.0
Release notes
- Version 26.2
- Added more properties for NSTextAttachmentMBS class.
- Updated NSTextAttachmentMBS constructor taking picture to use newer APIs.
- Version 25.5
- Improved replaceCharactersInRange method in NSAttributedStringMBS class.
- Version 25.1
- Added NSAdaptiveImageGlyphMBS and NSAdaptiveImageGlyphImageMBS classes for genmojis.
- Version 25.0
- Added NSWritingToolsExclusionAttributeName shared method to NSAttributedStringMBS class.
- Version 24.4
- Added size and boundingRectWithSize methods for NSAttributedStringMBS class.
- Version 24.0
- Added replaceCharacters method to NSMutableAttributedStringMBS class.
- Version 23.4
- Enabled AsCFAttributedString method for NSAttributedStringMBS class for iOS.
- Enabled AsCFMutableAttributedString method for NSMutableAttributedStringMBS class for iOS.
- Enabled NSTextListMBS class for iOS.
- Version 22.2
- Added new initWithHTML variant to pass document parsing options in NSAttributedStringMBS class.
- Version 22.1
- Changed NSCenterTextAlignment and NSRightTextAlignment to from constants to shared methods to return correct values for PDFAnnotationTextWidgetMBS, NSParagraphStyleMBS, NSTextMBS and PDFAnnotationFreeTextMBS classes.
The items on this page are in the following plugins: MBS MacBase Plugin, MBS MacCocoa Plugin, MBS MacControls Plugin, MBS MacFrameworks Plugin, MBS Util Plugin, MBS Win Plugin.