Input:
hello world WebKit.
this is a test of attributed string.
Output:
NSParagraphStyle:
Alignment 4
LineSpacing: 0
ParagraphSpacing: 0
ParagraphSpacingBefore: 0
HeadIndent: 0
TailIndent: 0
FirstLineHeadIndent: 0
LineHeight: 0/0
LineHeightMultiple: 0
LineBreakMode: 0
Tabs: ()
DefaultTabInterval: 36
Blocks: (null)
Lists: (null)
BaseWritingDirection: 0
HyphenationFactor: 0
TighteningFactor: 0.05
HeaderLevel: 0
[hello ]
NSFont: Times-Roman 16.00 pt.
[world]
NSBackgroundColor: #0000ff (NSDeviceRGBColorSpace)
NSColor: #ffffff (NSDeviceRGBColorSpace)
NSFont: Times-Bold 16.00 pt.
[ ]
NSFont: Times-Roman 16.00 pt.
[WebKit]
NSColor: #0000ee (NSDeviceRGBColorSpace)
NSFont: Times-Roman 16.00 pt.
NSLink: https://webkit.org/
NSUnderline: true
[.\n]
NSFont: Times-Roman 16.00 pt.
[this is a ]
NSBackgroundColor: #ffff00 (NSDeviceRGBColorSpace)
NSFont: Times-Roman 16.00 pt.
[t]
NSBackgroundColor: #ffff00 (NSDeviceRGBColorSpace)
NSFont: Times-Italic 16.00 pt.
[est]
NSBackgroundColor: #ffff00 (NSDeviceRGBColorSpace)
NSFont: Times-Roman 16.00 pt.
NSUnderline: true
[ of ]
NSBackgroundColor: #ffff00 (NSDeviceRGBColorSpace)
NSFont: Times-Roman 16.00 pt.
[attributed]
NSBackgroundColor: #ffff00 (NSDeviceRGBColorSpace)
NSFont: Times-Italic 16.00 pt.
[ string.]
NSBackgroundColor: #ffff00 (NSDeviceRGBColorSpace)
NSFont: Times-Roman 16.00 pt.
[ ]
NSFont: Times-Roman 16.00 pt.