in colorSchemeTool.py [0:0]
def font_style_from_textmate(style): result = 0 if 'bold' in style: result += 1 if 'italic' in style: result += 2 return result