Home | Trees | Indices | Help |
|
---|
|
object --+ | list --+ | TextLine
A single line of text within the content, which may have at most one new line as its last character. The line is broken into regions, with each character belonging in exactly one region.
TextLines may have an integer public variable, line_number, useful when folding output to track the original line number. It is not initialized or used internally.
|
|||
new empty list |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
str(x)
|
x[i:j]=y Use of negative indices is not supported.
|
x[i]=y
|
append object to end
|
extend list by appending elements from the iterable
|
insert object before index
|
Append a new region to the TextLine, initializing it with the provided text. text may be a string, a TextLineRegion or an array of characters. attrs can be a TextLineRegion or dict specifying attributes to be assigned to the new region. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Dec 14 22:46:37 2010 | http://epydoc.sourceforge.net |