src/eric7/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py

branch
eric7
changeset 9448
ea215f7afab3
parent 9413
80c06d472826
child 9473
3f23dbf37dbe
equal deleted inserted replaced
9447:662075aa9361 9448:ea215f7afab3
538 538
539 @param exportAll flag indicating to export all styles without asking 539 @param exportAll flag indicating to export all styles without asking
540 (defaults to False) 540 (defaults to False)
541 @type bool (optional) 541 @type bool (optional)
542 """ 542 """
543 from eric7config import getConfig 543 from eric7.Globals import getConfig
544 544
545 stylesDir = getConfig("ericStylesDir") 545 stylesDir = getConfig("ericStylesDir")
546 546
547 lexerNames = list(self.lexers.keys()) 547 lexerNames = list(self.lexers.keys())
548 if not exportAll: 548 if not exportAll:
608 608
609 @param importAll flag indicating to import all styles without asking 609 @param importAll flag indicating to import all styles without asking
610 (defaults to False) 610 (defaults to False)
611 @type bool (optional) 611 @type bool (optional)
612 """ 612 """
613 from eric7config import getConfig 613 from eric7.Globals import getConfig
614 614
615 stylesDir = getConfig("ericStylesDir") 615 stylesDir = getConfig("ericStylesDir")
616 616
617 fn = EricFileDialog.getOpenFileName( 617 fn = EricFileDialog.getOpenFileName(
618 self, 618 self,

eric ide

mercurial