diff options
author | Ricki Myers <antihc3@gmail.com> | 2006-03-05 22:50:14 +0300 |
---|---|---|
committer | Ricki Myers <antihc3@gmail.com> | 2006-03-05 22:50:14 +0300 |
commit | 7cf600be30090136e43cdbf6b5ea88c5f3c084a9 (patch) | |
tree | 6822e23f5559092db524f16cc9bf70a3379e4183 /source/blender/blenkernel/BKE_text.h | |
parent | f325da228ca824bb61310e7883c6b8a209f38acb (diff) |
Adds menu item in text editor under format menu to convert whitespace to
Spaces or to tabs.
Adds function void convert_tabs(struct SpaceText *st, int tab)
int tab is eather 0 or 1; 1 if converting to tabs
I was going to make this auto run when running a script but did not know what that would do to the GE or any thing else.
Diffstat (limited to 'source/blender/blenkernel/BKE_text.h')
-rw-r--r-- | source/blender/blenkernel/BKE_text.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_text.h b/source/blender/blenkernel/BKE_text.h index 447a94dd487..d12b1f28570 100644 --- a/source/blender/blenkernel/BKE_text.h +++ b/source/blender/blenkernel/BKE_text.h @@ -94,6 +94,7 @@ void comment (struct Text *text); void indent (struct Text *text); void uncomment (struct Text *text); int setcurr_tab (struct Text *text); +void convert_tabs (struct SpaceText *st, int tab); /* Undo opcodes */ |