class _ColorizerState:
mark()
/restore()
methods can be used to set a backup point, and restore back to that backup point. This is used by several colorization methods that first try colorizing their object on a single line (setting linebreakok=False); and then fall back on a multi-line output if that fails.Method | __init__ |
Undocumented |
Method | mark |
Undocumented |
Method | restore |
Return what's been trimmed from the result. |
Instance Variable | charpos |
Undocumented |
Instance Variable | linebreakok |
Undocumented |
Instance Variable | lineno |
Undocumented |
Instance Variable | result |
Undocumented |
Instance Variable | warnings |
Undocumented |
Parameters | |
mark:_MarkedColorizerState | Undocumented |
Returns | |
List[ | Undocumented |