class documentation
class DefaultFormattingState(FancyEqMixin): (source)
Known subclasses: twisted.python._textattributes._FormattingStateMixin
A character attribute that does nothing, thus applying no attributes to text.
| Method | copy |
Make a copy of this formatting state. |
| Method | to |
Emit a VT102 control sequence that will set up all the attributes this formatting state has set. |
| Class Variable | compare |
Undocumented |
| Method | _with |
Add a character attribute to a copy of this formatting state. |
| Class Variable | _dummy |
Undocumented |
Inherited from FancyEqMixin:
| Method | __eq__ |
Undocumented |
| Method | __ne__ |
Undocumented |
overridden in
twisted.python._textattributes._FormattingStateMixinMake a copy of this formatting state.
| Returns | |
| A formatting state instance. |
overridden in
twisted.conch.insults.helper._FormattingStateEmit a VT102 control sequence that will set up all the attributes this formatting state has set.
| Returns | |
| A string containing VT102 control sequences that mimic this formatting state. |
overridden in
twisted.conch.insults.helper._FormattingState, twisted.words.protocols.irc._FormattingStateUndocumented
overridden in
twisted.python._textattributes._FormattingStateMixinAdd a character attribute to a copy of this formatting state.
| Parameters | |
| name | Attribute name to be added to formatting state. |
| value | Attribute value. |
| Returns | |
| A formatting state instance with the new attribute. |