Package peppy :: Module fundamental :: Class ParagraphInfo
[frames] | no frames]

Class ParagraphInfo

object --+
         |
        ParagraphInfo

Summary object about the currently selected paragraph.

This object is built up as the paragraph mixin is searching through the file looking for the boundaries of the paragraph. It is then used as input to the paragraph fill and other commands.

Instance Methods
 
__init__(self, stc, linenum)
Initialize the structure by specifying a line that belongs to the paragraph.
 
addStartLine(self, linenum, line)
Add the line to the list and update the starting position
 
addEndLine(self, linenum, line)
Add the line to the list and update the starting position
 
getLines(self)
Get the list of lines in the paragraph

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, stc, linenum)
(Constructor)

 

Initialize the structure by specifying a line that belongs to the paragraph.

Overrides: object.__init__