PluginPrintRemover.py

branch
eric7
changeset 69
ed8361e82ca1
parent 68
9f9a276b23a5
child 70
40e98b382639
equal deleted inserted replaced
68:9f9a276b23a5 69:ed8361e82ca1
40 error = "" 40 error = ""
41 41
42 printRemoverPluginObject = None 42 printRemoverPluginObject = None
43 43
44 44
45 def createPrintRemoverPage(configDlg): 45 def createPrintRemoverPage(configDlg): # noqa: U100
46 """ 46 """
47 Module function to create the Print Remover configuration page. 47 Module function to create the Print Remover configuration page.
48 48
49 @param configDlg reference to the configuration dialog 49 @param configDlg reference to the configuration dialog
50 @type ConfigurationWidget 50 @type ConfigurationWidget
51 @return reference to the configuration page 51 @return reference to the configuration page
52 @rtype PrintRemoverPage 52 @rtype PrintRemoverPage
53 """ 53 """
54 from PrintRemover.ConfigurationPage.PrintRemoverPage import PrintRemoverPage
55
54 global printRemoverPluginObject 56 global printRemoverPluginObject
55 from PrintRemover.ConfigurationPage.PrintRemoverPage import PrintRemoverPage
56 57
57 return PrintRemoverPage(printRemoverPluginObject) 58 return PrintRemoverPage(printRemoverPluginObject)
58 59
59 60
60 def getConfigData(): 61 def getConfigData():
356 editor.replaceSelectedText(newText) 357 editor.replaceSelectedText(newText)
357 editor.endUndoAction() 358 editor.endUndoAction()
358 359
359 360
360 # 361 #
361 # eflag: noqa = M801 362 # eflag: noqa = M801, U200

eric ide

mercurial