diff -r 05692e3d37bf -r 3ccdf551bde7 E5XML/ProjectHandler.py --- a/E5XML/ProjectHandler.py Sat May 15 10:19:07 2010 +0200 +++ b/E5XML/ProjectHandler.py Sat May 15 15:29:39 2010 +0200 @@ -71,6 +71,7 @@ 'PackagersParams' : (self.startPackagersParams, self.endPackagersParams), 'CheckersParams' : (self.startCheckersParams, self.endCheckersParams), 'OtherToolsParams' : (self.startOtherToolsParams, self.endOtherToolsParams), + 'Eol' : (self.startEol, self.defaultEndElement), # parameters kept for backward compatibility 'UIType' : (self.defaultStartElement, self.endUIType), 'TranslationPrefix' : (self.startTranslationPrefix, @@ -517,6 +518,15 @@ if pattern: self.project.pdata["LEXERASSOCS"][pattern] = lexer + def startEol(self, attrs): + """ + Handler method for the "Eol" start tag. + + @param attrs list of tag attributes + """ + index = int(attrs.get("index", "0")) + self.project.pdata["EOL"] = [index] + def __buildPath(self): """ Private method to assemble a path.