Blender Git Commit Log
Git Commits -> Revision e9c7aaa
Revision e9c7aaa by Campbell Barton (master) December 29, 2012, 18:25 (GMT) |
patch [#33609] Syntax highlighting for OSL in Text Editor from Patrick Boelens (senshi). with modifications to split it into its own function. also added C style multi-line comment support /* ... */ I've left out the part of this patch that sets the language in the space, since I think this might be better stored in the text block. For now it simply uses OSL syntax highlighting when the extension is '.osl'. |
Commit Details:
Full Hash: e9c7aaaa3ccd83ee0bb6076f1f9fb2ac5653187f
SVN Revision: 53410
Parent Commit: 14ea084
Lines Changed: +391, -8
1 Added Path:
/source/blender/editors/space_text/text_format_osl.c (+331, -0) (View)
12 Modified Paths:
/doc/python_api/sphinx_doc_gen.py (+4, -0) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/editors/include/UI_resources.h (+2, -0) (Diff)
/source/blender/editors/interface/resources.c (+18, -4) (Diff)
/source/blender/editors/space_text/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_text/space_text.c (+1, -0) (Diff)
/source/blender/editors/space_text/text_draw.c (+6, -0) (Diff)
/source/blender/editors/space_text/text_format.c (+8, -2) (Diff)
/source/blender/editors/space_text/text_format.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_text_types.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+13, -1) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/editors/include/UI_resources.h (+2, -0) (Diff)
/source/blender/editors/interface/resources.c (+18, -4) (Diff)
/source/blender/editors/space_text/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_text/space_text.c (+1, -0) (Diff)
/source/blender/editors/space_text/text_draw.c (+6, -0) (Diff)
/source/blender/editors/space_text/text_format.c (+8, -2) (Diff)
/source/blender/editors/space_text/text_format.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_text_types.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+13, -1) (Diff)