| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
StandardReturnMixin
Mixin to indent the next line to the correct column
This mixin provides electricReturn, which operates when the return key is pressed. At a minimum it should insert the appropriate line end character (cr, crlf, or lf depending on the current state of the STC), but provides the opportunity to indent the line as well.
The default action is to simply copy the indent level of the previous line.
| Instance Methods | |||
|
|||
|
|||
|
Inherited from |
|||
| Properties | |
|
Inherited from |
| Method Details |
Find proper indention of next line given a line number. This is designed to be overridden in subclasses. Given the current line, figure out what the indention should be for the next line. |
Add a newline and indent to the proper tab level. Indent to the level of the line above. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Feb 21 14:51:16 2008 | http://epydoc.sourceforge.net |