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, |