Package peppy :: Package plugins :: Module makefile_mode :: Class MakefileIndentMixin
[frames] | no frames]

Class MakefileIndentMixin

object --+
         |
        MakefileIndentMixin
Known Subclasses:

Instance Methods
 
getReindentColumn(self, linenum, linestart, pos, before, col, ind)
Reindent the specified line to the correct level.

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

Class Variables
  commandre = '[^\\s"\']+:'
Properties

Inherited from object: __class__

Method Details

getReindentColumn(self, linenum, linestart, pos, before, col, ind)

 

Reindent the specified line to the correct level.

Given a line, use some regex matching to determine the correct indent level.