src/eric7/Preferences/ConfigurationPages/EditorGeneralPage.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10832
479cf39ac9cb
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
308 language, tabWidth, indentWidth = dlg.getData() 308 language, tabWidth, indentWidth = dlg.getData()
309 itm.setText(1, "{0:2d}".format(tabWidth)) 309 itm.setText(1, "{0:2d}".format(tabWidth))
310 itm.setText(2, "{0:2d}".format(indentWidth)) 310 itm.setText(2, "{0:2d}".format(indentWidth))
311 311
312 312
313 def create(dlg): # noqa: U100 313 def create(_dlg):
314 """ 314 """
315 Module function to create the configuration page. 315 Module function to create the configuration page.
316 316
317 @param dlg reference to the configuration dialog 317 @param _dlg reference to the configuration dialog (unused)
318 @type ConfigurationDialog 318 @type ConfigurationDialog
319 @return reference to the instantiated page 319 @return reference to the instantiated page
320 @rtype ConfigurationPageBase 320 @rtype ConfigurationPageBase
321 """ 321 """
322 page = EditorGeneralPage() 322 page = EditorGeneralPage()

eric ide

mercurial