changeset 1736 | 7e61baa047f0 |
parent 1730 | 64d8f52bc8c8 |
child 1768 | 691083b5682a |
1735:c02818d7e29f | 1736:7e61baa047f0 |
---|---|
24 |
24 |
25 import wx.stc as stc |
25 import wx.stc as stc |
26 |
26 |
27 from controls.CustomStyledTextCtrl import faces |
27 from controls.CustomStyledTextCtrl import faces |
28 from editors.CodeFileEditor import CodeFileEditor, CodeEditor |
28 from editors.CodeFileEditor import CodeFileEditor, CodeEditor |
29 |
|
29 |
30 |
30 class CppEditor(CodeEditor): |
31 class CppEditor(CodeEditor): |
31 |
32 |
32 KEYWORDS = ["asm", "auto", "bool", "break", "case", "catch", "char", "class", |
33 KEYWORDS = ["asm", "auto", "bool", "break", "case", "catch", "char", "class", |
33 "const", "const_cast", "continue", "default", "delete", "do", "double", |
34 "const", "const_cast", "continue", "default", "delete", "do", "double", |
55 |
56 |
56 #------------------------------------------------------------------------------- |
57 #------------------------------------------------------------------------------- |
57 # CFileEditor Main Frame Class |
58 # CFileEditor Main Frame Class |
58 #------------------------------------------------------------------------------- |
59 #------------------------------------------------------------------------------- |
59 |
60 |
61 |
|
60 class CFileEditor(CodeFileEditor): |
62 class CFileEditor(CodeFileEditor): |
61 |
63 |
62 CONFNODEEDITOR_TABS = [ |
64 CONFNODEEDITOR_TABS = [ |
63 (_("C code"), "_create_CodePanel")] |
65 (_("C code"), "_create_CodePanel")] |
64 CODE_EDITOR = CppEditor |
66 CODE_EDITOR = CppEditor |