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

Class StandardParagraphMixin

object --+
         |
        StandardParagraphMixin
Known Subclasses:

Locate the start and end of a paragraph, given a point within it.

Instance Methods
 
findParagraph(self, start, end=-1)
 
findParagraphEnd(self, linenum, info)
Check to see if a following line should be included in the paragraph match.
 
findParagraphStart(self, linenum, info)
Check to see if a previous line should be included in the paragraph match.

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

Properties

Inherited from object: __class__

Method Details

findParagraphEnd(self, linenum, info)

 

Check to see if a following line should be included in the paragraph match.

Routine designed to be overridden by subclasses to evaluate if a line should be included in the list of lines that belong with the current paragraph.

Add the line to the ParagraphInfo class using addEndLine if it belongs.

Return True if findParagraph should continue searching; otherwise return False

findParagraphStart(self, linenum, info)

 

Check to see if a previous line should be included in the paragraph match.

Routine designed to be overridden by subclasses to evaluate if a line should be included in the list of lines that belong with the current paragraph.

Add the line to the ParagraphInfo class using addStartLine if it belongs.

Return True if findParagraph should continue searching; otherwise return False