Blender Git Loki

Git Commits -> Revision 690ad15

Revision 690ad15 by Dalai Felinto (master)
January 14, 2010, 21:30 (GMT)
Text Editor: Add an option "Tabs as Spaces".
So now tab is not ALWAYS converted to spaces.
This is stored by text datablock (what allows to do nice things in the future, as automatic check for the indentation type of the file).

Ideally we should redraw the other Text Editor windows after changing that (in case the same file is opened and the Property panel is also open). Not sure how to do that though.

I'm using TABSTOSPACES as the DEFINE flag because TABSASSPACES sounds too ugly.

(also fix for interface divisor bug)

Commit Details:

Full Hash: 690ad15099fefd3e1f994529149652fde4929c99
SVN Revision: 26007
Parent Commit: 5d16a5b
Lines Changed: +9, -2

5 Modified Paths:

/release/scripts/ui/space_text.py (+2, -0) (Diff)
/source/blender/blenkernel/intern/text.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_widgets.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_text_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_text.c (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021