eric7/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py

branch
eric7
changeset 8314
e3642a6a1e71
parent 8312
800c432b34c8
child 8318
962bce857696
equal deleted inserted replaced
8313:dac33c7fce07 8314:e3642a6a1e71
525 525
526 @param exportAll flag indicating to export all styles without asking 526 @param exportAll flag indicating to export all styles without asking
527 (defaults to False) 527 (defaults to False)
528 @type bool (optional) 528 @type bool (optional)
529 """ 529 """
530 from eric6config import getConfig 530 from eric7config import getConfig
531 stylesDir = getConfig("ericStylesDir") 531 stylesDir = getConfig("ericStylesDir")
532 532
533 lexerNames = list(self.lexers.keys()) 533 lexerNames = list(self.lexers.keys())
534 if not exportAll: 534 if not exportAll:
535 if self.lexer: 535 if self.lexer:
606 606
607 @param importAll flag indicating to import all styles without asking 607 @param importAll flag indicating to import all styles without asking
608 (defaults to False) 608 (defaults to False)
609 @type bool (optional) 609 @type bool (optional)
610 """ 610 """
611 from eric6config import getConfig 611 from eric7config import getConfig
612 stylesDir = getConfig("ericStylesDir") 612 stylesDir = getConfig("ericStylesDir")
613 613
614 fn = E5FileDialog.getOpenFileName( 614 fn = E5FileDialog.getOpenFileName(
615 self, 615 self,
616 self.tr("Import Highlighting Styles"), 616 self.tr("Import Highlighting Styles"),

eric ide

mercurial