PluginSelectionEncloser.py

branch
eric7
changeset 61
4cd8dfb2c924
parent 60
44349feb5af7
child 62
5d418352a1bc
equal deleted inserted replaced
60:44349feb5af7 61:4cd8dfb2c924
39 error = "" 39 error = ""
40 40
41 selectionEncloserPluginObject = None 41 selectionEncloserPluginObject = None
42 42
43 43
44 def createSelectionEncloserPage(configDlg): 44 def createSelectionEncloserPage(configDlg): # noqa: U100
45 """ 45 """
46 Module function to create the Selection Encloser configuration page. 46 Module function to create the Selection Encloser configuration page.
47 47
48 @param configDlg reference to the configuration dialog 48 @param configDlg reference to the configuration dialog
49 @type ConfigurationWidget 49 @type ConfigurationWidget
50 @return reference to the configuration page 50 @return reference to the configuration page
51 @rtype SelectionEncloserPage 51 @rtype SelectionEncloserPage
52 """ 52 """
53 global selectionEncloserPluginObject
54 from SelectionEncloser.ConfigurationPage.SelectionEncloserPage import ( 53 from SelectionEncloser.ConfigurationPage.SelectionEncloserPage import (
55 SelectionEncloserPage, 54 SelectionEncloserPage,
56 ) 55 )
56
57 global selectionEncloserPluginObject
57 58
58 return SelectionEncloserPage(selectionEncloserPluginObject) 59 return SelectionEncloserPage(selectionEncloserPluginObject)
59 60
60 61
61 def getConfigData(): 62 def getConfigData():
393 editor.replaceSelectedText(newText) 394 editor.replaceSelectedText(newText)
394 editor.endUndoAction() 395 editor.endUndoAction()
395 396
396 397
397 # 398 #
398 # eflag: noqa = M801 399 # eflag: noqa = M801, U200

eric ide

mercurial