PluginWizardDataUriEncoder.py

changeset 28
31ec0c818335
parent 27
3583168da814
child 30
e32a140e48fb
equal deleted inserted replaced
27:3583168da814 28:31ec0c818335
21 # Start-of-Header 21 # Start-of-Header
22 name = "Base64 Data URI Encoder Wizard Plug-in" 22 name = "Base64 Data URI Encoder Wizard Plug-in"
23 author = "Detlev Offenbach <detlev@die-offenbachs.de>" 23 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
24 autoactivate = True 24 autoactivate = True
25 deactivateable = True 25 deactivateable = True
26 version = "2.0.2" 26 version = "2.0.3"
27 className = "WizardDataUriEncoderPlugin" 27 className = "WizardDataUriEncoderPlugin"
28 packageName = "WizardDataUriEncoder" 28 packageName = "WizardDataUriEncoder"
29 shortDescription = "Wizard for the creation of code for a base64 data URI." 29 shortDescription = "Wizard for the creation of code for a base64 data URI."
30 longDescription = \ 30 longDescription = \
31 """This plug-in implements a wizard to generate code for""" \ 31 """This plug-in implements a wizard to generate code for""" \
150 line, index = editor.getCursorPosition() 150 line, index = editor.getCursorPosition()
151 # It should be done on this way to allow undo 151 # It should be done on this way to allow undo
152 editor.beginUndoAction() 152 editor.beginUndoAction()
153 editor.insertAt(code, line, index) 153 editor.insertAt(code, line, index)
154 editor.endUndoAction() 154 editor.endUndoAction()
155
156 #
157 # eflag: noqa = M801

eric ide

mercurial