467 |
467 |
468 if QSCINTILLA_VERSION() >= 0x020802: |
468 if QSCINTILLA_VERSION() >= 0x020802: |
469 openFileFiltersList.append( |
469 openFileFiltersList.append( |
470 QApplication.translate( |
470 QApplication.translate( |
471 'Lexers', |
471 'Lexers', |
472 'Gettext Files (*.po)'), |
472 'Gettext Files (*.po)'), |
473 ) |
473 ) |
474 |
474 |
475 for name in LexerRegistry: |
475 for name in LexerRegistry: |
476 openFileFiltersList.extend(LexerRegistry[name][3]) |
476 openFileFiltersList.extend(LexerRegistry[name][3]) |
477 |
477 |
665 |
665 |
666 if QSCINTILLA_VERSION() >= 0x020802: |
666 if QSCINTILLA_VERSION() >= 0x020802: |
667 saveFileFiltersList.append( |
667 saveFileFiltersList.append( |
668 QApplication.translate( |
668 QApplication.translate( |
669 'Lexers', |
669 'Lexers', |
670 'Gettext Files (*.po)'), |
670 'Gettext Files (*.po)'), |
671 ) |
671 ) |
672 |
672 |
673 for name in LexerRegistry: |
673 for name in LexerRegistry: |
674 saveFileFiltersList.extend(LexerRegistry[name][4]) |
674 saveFileFiltersList.extend(LexerRegistry[name][4]) |
675 |
675 |