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