From 38bbd9c778d6733f21732df1f51dd2dc5236fa44 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 6 Jan 2014 00:36:09 +1100 Subject: Text3d: paste additions - Add paste from system clipboard which behaves like paste from file. - Paste from file now replaces the selection rather then just adding to the end. - Move paste operations into the 'Edit' menu. - Added generic paste functions: font_paste_wchar, font_paste_utf8. - Fix paste max length check not taking the selection length into account. --- source/blender/editors/curve/curve_intern.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/curve/curve_intern.h') diff --git a/source/blender/editors/curve/curve_intern.h b/source/blender/editors/curve/curve_intern.h index 878e0246ad5..d54db77754f 100644 --- a/source/blender/editors/curve/curve_intern.h +++ b/source/blender/editors/curve/curve_intern.h @@ -61,7 +61,8 @@ void FONT_OT_select_all(struct wmOperatorType *ot); void FONT_OT_text_copy(struct wmOperatorType *ot); void FONT_OT_text_cut(struct wmOperatorType *ot); void FONT_OT_text_paste(struct wmOperatorType *ot); -void FONT_OT_file_paste(struct wmOperatorType *ot); +void FONT_OT_text_paste_from_file(struct wmOperatorType *ot); +void FONT_OT_text_paste_from_clipboard(struct wmOperatorType *ot); void FONT_OT_move(struct wmOperatorType *ot); void FONT_OT_move_select(struct wmOperatorType *ot); -- cgit v1.2.3