1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
name = "Smart indentation plugin"
authors = ["Lateef Alabi-Oki <mystilleef@gmail.com>"]
languages = ["python"]
version = 0.1
autoload = True
class_name = "SmartIndentationPlugin"
short_description = "Smart indentation for Python source code."
long_description = """Smart indentation for Python source code."""
class SmartIndentationPlugin(object):
def __init__(self, editor):
self.__editor = editor
self.__manager = None
def load(self):
from PythonSmartIndentation.Manager import Manager
self.__manager = Manager(self.__editor)
return
def unload(self):
self.__manager.destroy()
return
|