Package pallavi :: Package plugins :: Module SameIndent
[hide private]
[frames] | no frames]

Module SameIndent

source code

This plugin ensures that when a newline is entered, it
has the same amount of whitespace as the previous line. This
is a fake form of auto-indent, but it doesn't know about adding
indentation when the next line should be indented another level.

Unless otherwise bound, Shift+Enter will ignore this effect.

This plugin listens for the following events:
TextViewAdded
        To set up the keylistener on the indicated textview



Functions [hide private]
 
setup() source code
 
TextViewAdded(eventName, textview) source code
 
KeyDown(event) source code