diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-21 21:05:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-21 21:05:41 +0400 |
commit | 8bf5ec4f8af5d2129387d29dd2b552ec3b1850ca (patch) | |
tree | ec187676f9a60ddf3f5ac1802991da13c02ccca4 /source/blender/blenkernel/BKE_text.h | |
parent | cfc13e179a47c9ba9985dbf745e17e9057f6592e (diff) |
code cleanup: de-duplicate BLI_ghashIterator_new/init and disable unused text undo print function.
Diffstat (limited to 'source/blender/blenkernel/BKE_text.h')
-rw-r--r-- | source/blender/blenkernel/BKE_text.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_text.h b/source/blender/blenkernel/BKE_text.h index 2406fa51c84..24fd763d078 100644 --- a/source/blender/blenkernel/BKE_text.h +++ b/source/blender/blenkernel/BKE_text.h @@ -86,7 +86,6 @@ void txt_sel_all (struct Text *text); void txt_sel_line (struct Text *text); char *txt_sel_to_buf (struct Text *text); void txt_insert_buf (struct Text *text, const char *in_buffer); -void txt_print_undo (struct Text *text); void txt_undo_add_op (struct Text *text, int op); void txt_do_undo (struct Text *text); void txt_do_redo (struct Text *text); @@ -106,6 +105,10 @@ int txt_setcurr_tab_spaces(struct Text *text, int space); bool txt_cursor_is_line_start(struct Text *text); bool txt_cursor_is_line_end(struct Text *text); +#if 0 +void txt_print_undo (struct Text *text); +#endif + /* utility functions, could be moved somewhere more generic but are python/text related */ int text_check_bracket(const char ch); int text_check_delim(const char ch); |