getReindentColumn(self,
linenum,
linestart,
pos,
indpos,
col,
indcol)
|
|
User hook to return the new indentation position.
This routine should be overridden in subclasses to provide the correct
indentation of the first not-blank character of the line.
linenum: current line number linestart: position of character at
column zero of line pos: position of cursor indpos: position of first
non-blank character in line col: column number of cursor indcol: column
number of first non-blank character
return: the number of columns to indent, or None to leave as-is
- Overrides:
ReindentBase.getReindentColumn
- (inherited documentation)
|