QScintilla/Lexers/LexerPygments.py

branch
sub_styles
changeset 6851
036535d1dd88
parent 6645
ad476851d7e0
child 6891
93f82da09f22
equal deleted inserted replaced
6846:6ca9ef2c0907 6851:036535d1dd88
299 """ 299 """
300 Public method returning the language of the lexer. 300 Public method returning the language of the lexer.
301 301
302 @return language of the lexer (string) 302 @return language of the lexer (string)
303 """ 303 """
304 return "Guessed" 304 if self.__pygmentsName:
305 return self.__pygmentsName
306 else:
307 return "Guessed"
305 308
306 def description(self, style): 309 def description(self, style):
307 """ 310 """
308 Public method returning the descriptions of the styles supported 311 Public method returning the descriptions of the styles supported
309 by the lexer. 312 by the lexer.

eric ide

mercurial