Blender Git Loki
Git Commits -> Revision 2d6481c
Revision 2d6481c by Ton Roosendaal (master) May 13, 2005, 16:11 (GMT) |
TextEditor: syntax color support. Patch provided by Ricki Myers. Works quite obvious, see Theme editor too! Notes about the provided code; - The default syntax colors were screaming! Toned it down to match the default dark on lightgrey background better. - Added: initializing colors in saved themes (usiblender.c) - The implementation of the button for this option was quite clumsy... Blender UI options services this a lot easier. (Same fixed for 'line numbers' option) - Bracket matching now uses as color a mix of backdrop and the selected-text color. Noticed my texteditor did it too... -> I really miss comments in code describing a little bit the thought process behind the code. Like a short introduction on this feature in the top of the drawtext.c, little remarks on new functions. ALso in patch tracker or the mailinglist no docs was mentioned? -> drawtext.c now gets messy quickly... lack of overview, structure, and confusing mix of personal coding styles. For not-active supported code dangerous... |
Commit Details:
Full Hash: 2d6481c41c446ba3cc3f635944990d1b1927974f
SVN Revision: 4428
Parent Commit: ec2cbb2
Lines Changed: +1997, -1466
12 Modified Paths:
/source/blender/blenkernel/intern/text.c (+59, -27) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -1) (Diff)
/source/blender/include/BIF_drawtext.h (+1, -0) (Diff)
/source/blender/include/BIF_resources.h (+8, -3) (Diff)
/source/blender/makesdna/DNA_space_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_text_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+4, -2) (Diff)
/source/blender/src/blenderbuttons.c (+1399, -1382) (Diff)
/source/blender/src/drawtext.c (+473, -21) (Diff)
/source/blender/src/header_text.c (+13, -10) (Diff)
/source/blender/src/resources.c (+22, -5) (Diff)
/source/blender/src/usiblender.c (+13, -14) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -1) (Diff)
/source/blender/include/BIF_drawtext.h (+1, -0) (Diff)
/source/blender/include/BIF_resources.h (+8, -3) (Diff)
/source/blender/makesdna/DNA_space_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_text_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+4, -2) (Diff)
/source/blender/src/blenderbuttons.c (+1399, -1382) (Diff)
/source/blender/src/drawtext.c (+473, -21) (Diff)
/source/blender/src/header_text.c (+13, -10) (Diff)
/source/blender/src/resources.c (+22, -5) (Diff)
/source/blender/src/usiblender.c (+13, -14) (Diff)