currentAttributes
The merged attributes at the current cursor position.
When typingAttributes is set, returns the cursor's inherited attributes overlaid with the typing overrides. Otherwise, returns the attributes of the character immediately before the cursor.
Returns AttributeContainer.empty when:
The text is empty
The cursor is at position 0 with no typing attributes