twisted.words.protocols.irc._FormattingState(_textattributes._FormattingStateMixin)
class documentationtwisted.words.protocols.irc
View Source
(View In Hierarchy)
Formatting state/attributes of a single character.
Attributes include:
Present Since | 13.1 |
Method | __init__ | Undocumented |
Method | toMIRCControlCodes | Emit a mIRC control sequence that will set up all the attributes this formatting state has set. |
Inherited from _FormattingStateMixin:
Method | copy | Make a copy of this formatting state. |
Method | _withAttribute | Add a character attribute to a copy of this formatting state. |
Inherited from DefaultFormattingState (via _FormattingStateMixin):
Method | toVT102 | Emit a VT102 control sequence that will set up all the attributes this formatting state has set. |
Inherited from FancyEqMixin (via _FormattingStateMixin, DefaultFormattingState):
Method | __eq__ | Undocumented |
Method | __ne__ | Undocumented |
Emit a mIRC control sequence that will set up all the attributes this formatting state has set.
Returns | A string containing mIRC control sequences that mimic this formatting state. |