69 'DocumentationParams' : (self.startDocumentationParams, |
69 'DocumentationParams' : (self.startDocumentationParams, |
70 self.endDocumentationParams), |
70 self.endDocumentationParams), |
71 'PackagersParams' : (self.startPackagersParams, self.endPackagersParams), |
71 'PackagersParams' : (self.startPackagersParams, self.endPackagersParams), |
72 'CheckersParams' : (self.startCheckersParams, self.endCheckersParams), |
72 'CheckersParams' : (self.startCheckersParams, self.endCheckersParams), |
73 'OtherToolsParams' : (self.startOtherToolsParams, self.endOtherToolsParams), |
73 'OtherToolsParams' : (self.startOtherToolsParams, self.endOtherToolsParams), |
|
74 'Eol' : (self.startEol, self.defaultEndElement), |
74 # parameters kept for backward compatibility |
75 # parameters kept for backward compatibility |
75 'UIType' : (self.defaultStartElement, self.endUIType), |
76 'UIType' : (self.defaultStartElement, self.endUIType), |
76 'TranslationPrefix' : (self.startTranslationPrefix, |
77 'TranslationPrefix' : (self.startTranslationPrefix, |
77 self.endTranslationPrefix), |
78 self.endTranslationPrefix), |
78 'Eric4DocParams' : (self.startEric4DocParams, self.endEric4DocParams), |
79 'Eric4DocParams' : (self.startEric4DocParams, self.endEric4DocParams), |
515 pattern = attrs.get("pattern", "") |
516 pattern = attrs.get("pattern", "") |
516 lexer = attrs.get("lexer", "") |
517 lexer = attrs.get("lexer", "") |
517 if pattern: |
518 if pattern: |
518 self.project.pdata["LEXERASSOCS"][pattern] = lexer |
519 self.project.pdata["LEXERASSOCS"][pattern] = lexer |
519 |
520 |
|
521 def startEol(self, attrs): |
|
522 """ |
|
523 Handler method for the "Eol" start tag. |
|
524 |
|
525 @param attrs list of tag attributes |
|
526 """ |
|
527 index = int(attrs.get("index", "0")) |
|
528 self.project.pdata["EOL"] = [index] |
|
529 |
520 def __buildPath(self): |
530 def __buildPath(self): |
521 """ |
531 """ |
522 Private method to assemble a path. |
532 Private method to assemble a path. |
523 |
533 |
524 @return The ready assembled path. (string) |
534 @return The ready assembled path. (string) |