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

Class FoldingReindentMixin

object --+
         |
        FoldingReindentMixin

Experimental class to use STC Folding to reindent a line.

Currently not supported.

Instance Methods
 
reindentLine(self, linenum=None, dedent_only=False)
Reindent the specified line to the correct level.

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

Properties

Inherited from object: __class__

Method Details

reindentLine(self, linenum=None, dedent_only=False)

 

Reindent the specified line to the correct level.

Given a line, use Scintilla's built-in folding to determine the indention level of the current line.