diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_text.h')
-rw-r--r-- | source/blender/blenkernel/BKE_text.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/blenkernel/BKE_text.h b/source/blender/blenkernel/BKE_text.h index bba209334d4..67c1b6834dd 100644 --- a/source/blender/blenkernel/BKE_text.h +++ b/source/blender/blenkernel/BKE_text.h @@ -66,18 +66,18 @@ int txt_utf8_offset_to_index(const char *str, int offset); int txt_utf8_index_to_offset(const char *str, int index); int txt_utf8_offset_to_column(const char *str, int offset); int txt_utf8_column_to_offset(const char *str, int column); -void txt_move_up (struct Text *text, short sel); -void txt_move_down (struct Text *text, short sel); -void txt_move_left (struct Text *text, short sel); -void txt_move_right (struct Text *text, short sel); -void txt_jump_left (struct Text *text, bool sel, bool use_init_step); -void txt_jump_right (struct Text *text, bool sel, bool use_init_step); -void txt_move_bof (struct Text *text, short sel); -void txt_move_eof (struct Text *text, short sel); -void txt_move_bol (struct Text *text, short sel); -void txt_move_eol (struct Text *text, short sel); -void txt_move_toline (struct Text *text, unsigned int line, short sel); -void txt_move_to (struct Text *text, unsigned int line, unsigned int ch, short sel); +void txt_move_up (struct Text *text, const bool sel); +void txt_move_down (struct Text *text, const bool sel); +void txt_move_left (struct Text *text, const bool sel); +void txt_move_right (struct Text *text, const bool sel); +void txt_jump_left (struct Text *text, const bool sel, const bool use_init_step); +void txt_jump_right (struct Text *text, const bool sel, const bool use_init_step); +void txt_move_bof (struct Text *text, const bool sel); +void txt_move_eof (struct Text *text, const bool sel); +void txt_move_bol (struct Text *text, const bool sel); +void txt_move_eol (struct Text *text, const bool sel); +void txt_move_toline (struct Text *text, unsigned int line, const bool sel); +void txt_move_to (struct Text *text, unsigned int line, unsigned int ch, const bool sel); void txt_pop_sel (struct Text *text); void txt_delete_char (struct Text *text); void txt_delete_word (struct Text *text); |