c_ext/CFileEditor.py
changeset 1110 b6e252733c64
parent 1097 233681f2a00e
child 1138 cf2a6a7c87e8
equal deleted inserted replaced
1109:2dfad20abde3 1110:b6e252733c64
    13         "namespace", "new", "operator", "private", "protected", "public", "register", 
    13         "namespace", "new", "operator", "private", "protected", "public", "register", 
    14         "reinterpret_cast", "return", "short", "signed", "sizeof", "static", 
    14         "reinterpret_cast", "return", "short", "signed", "sizeof", "static", 
    15         "static_cast", "struct", "switch", "template", "this", "throw", "true", "try",
    15         "static_cast", "struct", "switch", "template", "this", "throw", "true", "try",
    16         "typedef", "typeid", "typename", "union", "unsigned", "using", "virtual", 
    16         "typedef", "typeid", "typename", "union", "unsigned", "using", "virtual", 
    17         "void", "volatile", "wchar_t", "while"]
    17         "void", "volatile", "wchar_t", "while"]
    18     COMMENT_HEADER = "//"
    18     COMMENT_HEADER = "/"
    19     
    19     
    20     def SetCodeLexer(self):
    20     def SetCodeLexer(self):
    21         self.SetLexer(stc.STC_LEX_CPP)
    21         self.SetLexer(stc.STC_LEX_CPP)
    22         
    22         
    23         self.StyleSetSpec(stc.STC_C_COMMENT, 'fore:#408060,size:%(size)d' % faces)
    23         self.StyleSetSpec(stc.STC_C_COMMENT, 'fore:#408060,size:%(size)d' % faces)