³ò ¢õEc@sMdZdZdgZdZeZdZdZdZde fd„ƒYZ dS( s This module documents a class that implements the plug-in protocol for the automatic word replacement plug-in. @author: Lateef Alabi-Oki @organization: The Scribes Project @copyright: Copyright © 2005 Lateef Alabi-Oki @license: GNU GPLv2 or Later @contact: mystilleef@gmail.com sAutomatic Word Replacements'Lateef Alabi-Oki gš™™™™™¹?tAutoReplacePlugins"Expand abbreviations in the buffers¹The plug-in allows users to expand abbreviations in the text editor's buffer. Via a graphic user interface, a user can map the letter "u" to the word "you". Thus, anytime the user types "u" followed by the "space" or "Enter" key, "u" is expanded to "you". This plug-in implements the algorithm to perform such expansions. The user interface for mapping abbreviations to text is implemented by another plug-in, see "PluginAutoReplaceGUI.py". cBs)eZdZd„Zd„Zd„ZRS(sP This class implements the protocol to initialize the "AutoReplace" plug-in. cCs||_d|_dS(sÕ Initialize the object. @param self: Reference to the AutoReplacePlugin instance. @type self: A AutoReplacePlugin object. @param editor: Reference to the text editor. @type editor: An Editor object. N(t_AutoReplacePlugin__editortNonet_AutoReplacePlugin__manager(tselfteditor((splugins/PluginAutoReplace.pyt__init__6s cCs&ddkl}||iƒ|_dS(sš Initialize the "AutoReplace" plug-in object. @param self: Reference to the AutoReplacePlugin instance. @type self: An AutoReplacePlugin object. iÿÿÿÿ(tAutoReplaceManagerN(tAutoReplace.ManagerRRR(RR((splugins/PluginAutoReplace.pytloadCscCs|iidƒdS(s— Destroy the "AutoReplace" plug-in object. @param self: Reference to the AutoReplacePlugin instance. @type self: An AutoReplacePlugin object. tdestroyN(Rtemit(R((splugins/PluginAutoReplace.pytunloadNs(t__name__t __module__t__doc__RR R (((splugins/PluginAutoReplace.pyR0s N( RtnametauthorstversiontTruetautoloadt class_nametshort_descriptiontlong_descriptiontobjectR(((splugins/PluginAutoReplace.pyss