E5XML/HighlightingStylesWriter.py

branch
sub_styles
changeset 6867
97e86d2426a9
parent 6863
e900929889dd
equal deleted inserted replaced
6866:b792455b35cd 6867:97e86d2426a9
70 self.writeAttribute("font", 70 self.writeAttribute("font",
71 lexer.font(style, substyle).toString()) 71 lexer.font(style, substyle).toString())
72 self.writeAttribute("eolfill", 72 self.writeAttribute("eolfill",
73 str(lexer.eolFill(style, substyle))) 73 str(lexer.eolFill(style, substyle)))
74 self.writeStartElement("Description") 74 self.writeStartElement("Description")
75 self.writeCharacters(lexer.description(style, substyle)) 75 self.writeCharacters(description)
76 self.writeEndElement() # Description 76 self.writeEndElement() # Description
77 if substyle >= 0: 77 if substyle >= 0:
78 self.writeStartElement("Words") 78 self.writeStartElement("Words")
79 self.writeCharacters(lexer.words(style, substyle).strip()) 79 self.writeCharacters(lexer.words(style, substyle).strip())
80 self.writeEndElement() # Words 80 self.writeEndElement() # Words

eric ide

mercurial