Blender Git Loki
Git Commits -> Revision 4ac4629
Revision 4ac4629 by Stephen Swaney (master) October 14, 2004, 23:37 (GMT) |
a patch for the Text editor contributed by themeyers. adds new features for indenting and commenting. Note: I am not sure if the best menu spot for these features is under the Select menu, but we can argue about that later. They do work on a selection, though. from the mailing list post: 1&2. Added Indent/Unindent under Edit->Select just select the text you want to indent and go to the menu ( note if nothing is selected Indent will just indent ( tab ) the line the line ) 3&4. Added Comment/Uncomment to the same menu same applies as above 5. Added Tab setting on the menu bar in text editor Sets the number of spaces a tab == changing the setting will change the hole script 6. Added Auto indent when you hit enter it goes to the next line at the same tab number and the line above it ( needs more testing and input) |
Commit Details:
Full Hash: 4ac462990516d2d6996ee402f27559bce16deac2
SVN Revision: 3265
Parent Commit: 9d57959
Lines Changed: +257, -11
8 Modified Paths:
/source/blender/blenkernel/BKE_text.h (+9, -1) (Diff)
/source/blender/blenkernel/intern/text.c (+155, -0) (Diff)
/source/blender/include/blendef.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+4, -1) (Diff)
/source/blender/makesdna/DNA_text_types.h (+0, -1) (Diff)
/source/blender/src/drawtext.c (+38, -3) (Diff)
/source/blender/src/header_text.c (+48, -4) (Diff)
/source/blender/src/space.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/text.c (+155, -0) (Diff)
/source/blender/include/blendef.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_space_types.h (+4, -1) (Diff)
/source/blender/makesdna/DNA_text_types.h (+0, -1) (Diff)
/source/blender/src/drawtext.c (+38, -3) (Diff)
/source/blender/src/header_text.c (+48, -4) (Diff)
/source/blender/src/space.c (+2, -0) (Diff)