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. --- release/scripts/startup/bl_ui/space_view3d.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index e0f53420fea..1fed424f463 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -728,6 +728,11 @@ class VIEW3D_MT_select_edit_text(Menu): layout.separator() + layout.operator("font.text_paste_from_file") + layout.operator("font.text_paste_from_clipboard") + + layout.separator() + layout.operator("font.select_all") @@ -2435,10 +2440,6 @@ class VIEW3D_MT_edit_font(Menu): def draw(self, context): layout = self.layout - layout.operator("font.file_paste") - - layout.separator() - layout.menu("VIEW3D_MT_edit_text_chars") layout.separator() -- cgit v1.2.3