The plugin part NSText
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
The plugin part MBS MacCocoa Plugin:NSText:
Not Console safe,
400 entry points.
- class CustomNSSearchFieldMBS
- method Destructor
- method Constructor
- method Constructor(Handle as Integer)
- method Constructor(left as double, top as double, width as double, height as double)
- event Open
- event Close
- event acceptsFirstResponder as boolean
- event mouseDown(e as NSEventMBS, x as double, y as double) as boolean
- event mouseDragged(e as NSEventMBS, x as double, y as double) as boolean
- event mouseUp(e as NSEventMBS, x as double, y as double) as boolean
- event mouseMoved(e as NSEventMBS, x as double, y as double) as boolean
- event mouseEntered(e as NSEventMBS, x as double, y as double) as boolean
- event mouseExited(e as NSEventMBS, x as double, y as double) as boolean
- event rightMouseDown(e as NSEventMBS, x as double, y as double) as boolean
- event rightMouseDragged(e as NSEventMBS, x as double, y as double) as boolean
- event rightMouseUp(e as NSEventMBS, x as double, y as double) as boolean
- event otherMouseDown(e as NSEventMBS, x as double, y as double) as boolean
- event otherMouseDragged(e as NSEventMBS, x as double, y as double) as boolean
- event otherMouseUp(e as NSEventMBS, x as double, y as double) as boolean
- event becomeFirstResponder as boolean
- event resignFirstResponder as boolean
- event keyDown(e as NSEventMBS) as boolean
- event keyUp(e as NSEventMBS) as boolean
- event isOpaque as boolean
- event magnifyWithEvent(e as NSEventMBS) as boolean
- event rotateWithEvent(e as NSEventMBS) as boolean
- event swipeWithEvent(e as NSEventMBS) as boolean
- event beginGestureWithEvent(e as NSEventMBS) as boolean
- event endGestureWithEvent(e as NSEventMBS) as boolean
- event scrollWheel(e as NSEventMBS) as boolean
- event acceptsFirstMouse(e as NSEventMBS) as boolean
- event viewDidMoveToWindow
- event mouseDownCanMoveWindow as boolean
- event canBecomeKeyView as boolean
- event menuForEvent(e as NSEventMBS, defaultMenu as NSMenuMBS) as NSMenuMBS
- event draggingSessionSourceOperationMaskForDraggingContext(session as NSDraggingSessionMBS, context as integer) as integer
- event draggingSessionWillBeginAtPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
- event draggingSessionMovedToPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
- event draggingSessionEndedAtPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, operation as integer)
- event ignoreModifierKeysForDraggingSession(session as NSDraggingSessionMBS) as boolean
- event draggingEntered(sender as NSDraggingInfoMBS) as integer
- event draggingUpdated(sender as NSDraggingInfoMBS) as integer
- event draggingExited(sender as NSDraggingInfoMBS)
- event prepareForDragOperation(sender as NSDraggingInfoMBS) as boolean
- event performDragOperation(sender as NSDraggingInfoMBS) as boolean
- event concludeDragOperation(sender as NSDraggingInfoMBS)
- event draggingEnded(sender as NSDraggingInfoMBS)
- event wantsPeriodicDraggingUpdates as boolean
- event updateDraggingItemsForDrag(sender as NSDraggingInfoMBS)
- event pressureChange(e as NSEventMBS) as boolean
- class CustomNSTextFieldMBS
- method Destructor
- method Constructor
- method Constructor(Handle as Integer)
- method Constructor(left as double, top as double, width as double, height as double)
- event Open
- event Close
- event acceptsFirstResponder as boolean
- event mouseDown(e as NSEventMBS, x as double, y as double) as boolean
- event mouseDragged(e as NSEventMBS, x as double, y as double) as boolean
- event mouseUp(e as NSEventMBS, x as double, y as double) as boolean
- event mouseMoved(e as NSEventMBS, x as double, y as double) as boolean
- event mouseEntered(e as NSEventMBS, x as double, y as double) as boolean
- event mouseExited(e as NSEventMBS, x as double, y as double) as boolean
- event rightMouseDown(e as NSEventMBS, x as double, y as double) as boolean
- event rightMouseDragged(e as NSEventMBS, x as double, y as double) as boolean
- event rightMouseUp(e as NSEventMBS, x as double, y as double) as boolean
- event otherMouseDown(e as NSEventMBS, x as double, y as double) as boolean
- event otherMouseDragged(e as NSEventMBS, x as double, y as double) as boolean
- event otherMouseUp(e as NSEventMBS, x as double, y as double) as boolean
- event becomeFirstResponder as boolean
- event resignFirstResponder as boolean
- event keyDown(e as NSEventMBS) as boolean
- event keyUp(e as NSEventMBS) as boolean
- event isOpaque as boolean
- event magnifyWithEvent(e as NSEventMBS) as boolean
- event rotateWithEvent(e as NSEventMBS) as boolean
- event swipeWithEvent(e as NSEventMBS) as boolean
- event beginGestureWithEvent(e as NSEventMBS) as boolean
- event endGestureWithEvent(e as NSEventMBS) as boolean
- event scrollWheel(e as NSEventMBS) as boolean
- event acceptsFirstMouse(e as NSEventMBS) as boolean
- event viewDidMoveToWindow
- event mouseDownCanMoveWindow as boolean
- event canBecomeKeyView as boolean
- event menuForEvent(e as NSEventMBS, defaultMenu as NSMenuMBS) as NSMenuMBS
- event draggingSessionSourceOperationMaskForDraggingContext(session as NSDraggingSessionMBS, context as integer) as integer
- event draggingSessionWillBeginAtPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
- event draggingSessionMovedToPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
- event draggingSessionEndedAtPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, operation as integer)
- event ignoreModifierKeysForDraggingSession(session as NSDraggingSessionMBS) as boolean
- event draggingEntered(sender as NSDraggingInfoMBS) as integer
- event draggingUpdated(sender as NSDraggingInfoMBS) as integer
- event draggingExited(sender as NSDraggingInfoMBS)
- event prepareForDragOperation(sender as NSDraggingInfoMBS) as boolean
- event performDragOperation(sender as NSDraggingInfoMBS) as boolean
- event concludeDragOperation(sender as NSDraggingInfoMBS)
- event draggingEnded(sender as NSDraggingInfoMBS)
- event wantsPeriodicDraggingUpdates as boolean
- event updateDraggingItemsForDrag(sender as NSDraggingInfoMBS)
- event pressureChange(e as NSEventMBS) as boolean
- class CustomNSTextViewMBS
- method Destructor
- method Constructor
- method Constructor(Handle as Integer)
- method Constructor(left as double, top as double, width as double, height as double)
- event Open
- event Close
- event acceptsFirstResponder as boolean
- event mouseDown(e as NSEventMBS, x as double, y as double) as boolean
- event mouseDragged(e as NSEventMBS, x as double, y as double) as boolean
- event mouseUp(e as NSEventMBS, x as double, y as double) as boolean
- event mouseMoved(e as NSEventMBS, x as double, y as double) as boolean
- event mouseEntered(e as NSEventMBS, x as double, y as double) as boolean
- event mouseExited(e as NSEventMBS, x as double, y as double) as boolean
- event rightMouseDown(e as NSEventMBS, x as double, y as double) as boolean
- event rightMouseDragged(e as NSEventMBS, x as double, y as double) as boolean
- event rightMouseUp(e as NSEventMBS, x as double, y as double) as boolean
- event otherMouseDown(e as NSEventMBS, x as double, y as double) as boolean
- event otherMouseDragged(e as NSEventMBS, x as double, y as double) as boolean
- event otherMouseUp(e as NSEventMBS, x as double, y as double) as boolean
- event becomeFirstResponder as boolean
- event resignFirstResponder as boolean
- event keyDown(e as NSEventMBS) as boolean
- event keyUp(e as NSEventMBS) as boolean
- event isOpaque as boolean
- event magnifyWithEvent(e as NSEventMBS) as boolean
- event rotateWithEvent(e as NSEventMBS) as boolean
- event swipeWithEvent(e as NSEventMBS) as boolean
- event beginGestureWithEvent(e as NSEventMBS) as boolean
- event endGestureWithEvent(e as NSEventMBS) as boolean
- event scrollWheel(e as NSEventMBS) as boolean
- event acceptsFirstMouse(e as NSEventMBS) as boolean
- event viewDidMoveToWindow
- event mouseDownCanMoveWindow as boolean
- event canBecomeKeyView as boolean
- event menuForEvent(e as NSEventMBS, defaultMenu as NSMenuMBS) as NSMenuMBS
- event draggingSessionSourceOperationMaskForDraggingContext(session as NSDraggingSessionMBS, context as integer) as integer
- event draggingSessionWillBeginAtPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
- event draggingSessionMovedToPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS)
- event draggingSessionEndedAtPoint(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, operation as integer)
- event ignoreModifierKeysForDraggingSession(session as NSDraggingSessionMBS) as boolean
- event draggingEntered(sender as NSDraggingInfoMBS) as integer
- event draggingUpdated(sender as NSDraggingInfoMBS) as integer
- event draggingExited(sender as NSDraggingInfoMBS)
- event prepareForDragOperation(sender as NSDraggingInfoMBS) as boolean
- event performDragOperation(sender as NSDraggingInfoMBS) as boolean
- event concludeDragOperation(sender as NSDraggingInfoMBS)
- event draggingEnded(sender as NSDraggingInfoMBS)
- event wantsPeriodicDraggingUpdates as boolean
- event updateDraggingItemsForDrag(sender as NSDraggingInfoMBS)
- event pressureChange(e as NSEventMBS) as boolean
- class DesktopLabel
- class DesktopSearchField
- class DesktopTextArea
- class DesktopTextField
- class Label
- class NSLayoutManagerMBS
- method usedRectForTextContainer(container as NSTextContainerMBS) as NSRectMBS
- method setExtraLineFragmentRect(fragmentRect as NSRectMBS, usedRect as NSRectMBS, TextContainer as NSTextContainerMBS)
- method setLineFragmentRect(fragmentRect as NSRectMBS, glyphRange as NSRangeMBS, usedRect as NSRectMBS)
- method rectArrayForGlyphRange(glyphRange as NSRangeMBS, selGlyphRange as NSRangeMBS, container as NSTextContainerMBS, byref rectCount as integer) as NSRectMBS()
- method rectArrayForCharacterRange(charRange as NSRangeMBS, selCharRange as NSRangeMBS, container as NSTextContainerMBS, byref rectCount as integer) as NSRectMBS()
- method glyphRangeForTextContainer(container as NSTextContainerMBS) as NSRangeMBS
- method rangeOfNominallySpacedGlyphsContainingIndex(glyphIndex as integer) as NSRangeMBS
- method glyphIndexForPoint(point as NSPointMBS, container as NSTextContainerMBS) as integer
- method glyphIndexForPoint(point as NSPointMBS, container as NSTextContainerMBS, byref partialFraction as double) as integer
- method characterIndexForPoint(point as NSPointMBS, container as NSTextContainerMBS, byref partialFraction as double) as integer
- method lineFragmentRectForGlyphAtIndex(glyphIndex as integer, byref effectiveRange as NSRangeMBS, withoutAdditionalLayout as boolean) as NSRectMBS
- method lineFragmentUsedRectForGlyphAtIndex(glyphIndex as integer, byref effectiveRange as NSRangeMBS, withoutAdditionalLayout as boolean) as NSRectMBS
- method lineFragmentRectForGlyphAtIndex(glyphIndex as integer, byref effectiveRange as NSRangeMBS) as NSRectMBS
- method lineFragmentUsedRectForGlyphAtIndex(glyphIndex as integer, byref effectiveRange as NSRangeMBS) as NSRectMBS
- method locationForGlyphAtIndex(glyphIndex as integer) as NSPointMBS
- method removeTextContainerAtIndex(index as integer)
- method addTextContainer(container as NSTextContainerMBS)
- method setCharacterIndex(charIndex as integer, glyphIndex as integer)
- method replaceGlyphAtIndex(glyphIndex as integer, newGlyph as integer)
- method Constructor
- method replaceTextStorage(newTextStorage as NSTextStorageMBS)
- property InvisibleCharMapping(character as integer) as string
- property Handle as Integer
- property usesFontLeading as Boolean
- property showInvisibleCharacters as Boolean
- property textColor as NSColorMBS
- property font as NSFontMBS
- property backgroundLayoutEnabled as Boolean
- property usesScreenFonts as Boolean
- property showsInvisibleCharacters as Boolean
- property showsControlCharacters as Boolean
- property allowsNonContiguousLayout as Boolean
- property hasNonContiguousLayout as Boolean
- property attributedString as NSAttributedStringMBS
- property hyphenationFactor as Double
- property textStorage as NSTextStorageMBS
- class NSSearchFieldMBS
- class NSSecureTextFieldMBS
- class NSTextContainerMBS
- class NSTextFieldMBS
- class NSTextFinderMBS
- class NSTextMBS
- method Constructor
- method Constructor(Handle as Integer)
- method Constructor(left as double, top as double, width as double, height as double)
- method setMinSize(width as double, height as double)
- method setMaxSize(width as double, height as double)
- method minSizeWidth as double
- method minSizeHeight as double
- method maxSizeWidth as double
- method maxSizeHeight as double
- method writeRTFDToFile(file as folderitem, atomically as boolean) as boolean
- method readRTFDFromFile(file as folderitem) as boolean
- method setTextColorForRange(colorValue as NSColorMBS, start as integer, length as integer)
- method setFontForRange(font as NSFontMBS, start as integer, length as integer)
- method replaceCharactersInRangeWithString(start as integer, length as integer, text as string)
- method replaceCharactersInRangeWithRTF(start as integer, length as integer, rtfData as memoryblock)
- method replaceCharactersInRangeWithRTFD(start as integer, length as integer, rtfdData as memoryblock)
- method scrollRangeToVisible(start as integer, length as integer)
- method RTFFromRange(start as integer, length as integer) as Memoryblock
- method RTFDFromRange(start as integer, length as integer) as Memoryblock
- method sizeToFit
- method copy
- method copyFont
- method copyRuler
- method cut
- method delete
- method paste
- method pasteFont
- method pasteRuler
- method selectAll
- method changeFont
- method alignLeft
- method alignRight
- method alignCenter
- method subscript
- method superscript
- method underline
- method unscript
- method toggleRuler
- method showGuessPanel
- method checkSpelling
- method textLength as integer
- method isRulerVisible as boolean
- property selectedRange as NSRangeMBS
- property isHorizontallyResizable as boolean
- property isVerticallyResizable as boolean
- property usesFontPanel as boolean
- property text as string
- property isEditable as boolean
- property isSelectable as boolean
- property isRichText as boolean
- property importsGraphics as boolean
- property drawsBackground as boolean
- property backgroundColor as NSColorMBS
- property textColor as NSColorMBS
- property alignment as integer
- property isFieldEditor as boolean
- property font as NSFontMBS
- property baseWritingDirection as integer
- property Enabled as boolean
- shared method NSRightTextAlignment as Integer
- shared method NSCenterTextAlignment as Integer
- event textDidBeginEditing
- event textDidChange
- event textDidEndEditing
- event textShouldBeginEditing as boolean
- event textShouldEndEditing as boolean
- class NSTextStorageMBS
- class NSTextViewMBS
- class SearchField
- class Statictext
- class TextArea
- class TextField
- control DesktopNSSearchFieldControlMBS
- control DesktopNSSecureTextFieldControlMBS
- control DesktopNSTextFieldControlMBS
- control DesktopNSTextViewControlMBS
- control NSSearchFieldControlMBS
- control NSSecureTextFieldControlMBS
- control NSTextFieldControlMBS
- control NSTextViewControlMBS
Blog Entries
Videos
Xojo Developer Magazine