Preferences/PreferencesLexer.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 13
1af94a91f439
equal deleted inserted replaced
11:b0996e4a289e 12:1d8dd9706f46
246 Public method to get a descriptive string for a style. 246 Public method to get a descriptive string for a style.
247 247
248 @param style the style number (int) 248 @param style the style number (int)
249 @return description of the style (string) 249 @return description of the style (string)
250 """ 250 """
251 if self.descriptions.has_key(style): 251 if style in self.descriptions:
252 return self.descriptions[style] 252 return self.descriptions[style]
253 else: 253 else:
254 return "" 254 return ""

eric ide

mercurial