|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||Cocoa||MBS MacCocoa Plugin||12.4||Yes||No||No||Yes, macOS only||No|
Notes: An NSLayoutManager uses NSTextContainer to determine where to break lines, lay out portions of text, and so on. NSTextContainer defines rectangular regions, but you can create subclasses that define regions of other shapes, such as circular regions, regions with holes in them, or regions that flow alongside graphics.
- 7 properties
- 5 methods
- 9 constants
Line Movement Constants
Line has no movement.
Lines move from top to bottom.
Lines move from right to left.
Lines move from left to right.
Lines move from bottom to top.
Line Sweep Direction Constants
Characters move from top to bottom.
Characters move from right to left.
Characters move from left to right.
Characters move from bottom to top.
This class has no sub classes.
Some methods using this class:
- NSLayoutManagerMBS.addTextContainer(container as NSTextContainerMBS)
- NSLayoutManagerMBS.characterIndexForPoint(point as NSPointMBS, container as NSTextContainerMBS, byref partialFraction as Double) as Integer
- NSLayoutManagerMBS.glyphIndexForPoint(point as NSPointMBS, container as NSTextContainerMBS) as Integer
- NSLayoutManagerMBS.glyphIndexForPoint(point as NSPointMBS, container as NSTextContainerMBS, byref partialFraction as Double) as Integer
- NSLayoutManagerMBS.glyphRangeForTextContainer(container as NSTextContainerMBS) as NSRangeMBS
- NSLayoutManagerMBS.rectArrayForCharacterRange(charRange as NSRangeMBS, selCharRange as NSRangeMBS, container as NSTextContainerMBS, byref rectCount as Integer) as NSRectMBS()
- NSLayoutManagerMBS.rectArrayForGlyphRange(glyphRange as NSRangeMBS, selGlyphRange as NSRangeMBS, container as NSTextContainerMBS, byref rectCount as Integer) as NSRectMBS()
- NSLayoutManagerMBS.setExtraLineFragmentRect(fragmentRect as NSRectMBS, usedRect as NSRectMBS, TextContainer as NSTextContainerMBS)
- NSLayoutManagerMBS.usedRectForTextContainer(container as NSTextContainerMBS) as NSRectMBS
- NSTextViewMBS.replaceTextContainer(textContainer as NSTextContainerMBS)
Some properties using for this class:
- NSTextViewMBS.textContainer as NSTextContainerMBS
Some examples which use this class:
- /MacControls/Line wrap in TextArea
- /MacControls/NSTextView show invisible characters
- /MacControls/NSTextView Unlimited Tab
- MBS Xojo Plugins, version 18.6pr1
- Line Wrap for Textarea in Xojo Mac applications
- MBS Xojo / Real Studio Plugins, version 14.2pr1
- MBS Real Studio Plugins, version 12.4pr4
The items on this page are in the following plugins: MBS MacCocoa Plugin.
MBS FileMaker Plugins