|
Scribus
Open source desktop publishing at your fingertips
|


Public Member Functions | |
| def | __init__ |
| def | correct_indentation (self, lineno) |
| def | deindent (self, lineno) |
| def | indent (self, lineno) |
| def | entering_new_line (self, lineno) |
| def | insert_tab (self, index) |
Public Attributes | |
| editor | |
| indents | |
| line_editor | |
A class for formatting texts
| def sceditor.indenter.TextIndenter.correct_indentation | ( | self, | |
| lineno | |||
| ) |
Correct the indentation of a line
| def sceditor.indenter.TextIndenter.deindent | ( | self, | |
| lineno | |||
| ) |
Deindent the a line
| def sceditor.indenter.TextIndenter.entering_new_line | ( | self, | |
| lineno | |||
| ) |
Indent a line Uses `correct_indentation` and last line indents
| def sceditor.indenter.TextIndenter.indent | ( | self, | |
| lineno | |||
| ) |
Indent a line
| def sceditor.indenter.TextIndenter.insert_tab | ( | self, | |
| index | |||
| ) |
Inserts a tab in the given index