--- a/Project/LexerAssociationDialog.py Sat Sep 04 19:51:19 2010 +0200 +++ b/Project/LexerAssociationDialog.py Sat Sep 04 19:51:48 2010 +0200 @@ -72,7 +72,7 @@ else: lexer = "Pygments|{0}".format(pygmentsLexer) if ext and lexer: - itmList = self.editorLexerList.findItems(\ + itmList = self.editorLexerList.findItems( ext, Qt.MatchFlags(Qt.MatchExactly), 0) if itmList: index = self.editorLexerList.indexOfTopLevelItem(itmList[0]) @@ -155,4 +155,4 @@ for index in range(self.editorLexerList.topLevelItemCount()): itm = self.editorLexerList.topLevelItem(index) pattern = itm.text(0) - self.project.pdata["LEXERASSOCS"][pattern] = itm.text(1) + self.project.pdata["LEXERASSOCS"][pattern] = itm.text(1) \ No newline at end of file