Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-01-05 17:36:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-05 17:39:13 +0400
commit38bbd9c778d6733f21732df1f51dd2dc5236fa44 (patch)
treeb06c50b76da9d0309e82750313657279ab085f7e /release
parentb0ab91c0a4011f8e291aae7be2e03dffc5e2a6e6 (diff)
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.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py9
1 files changed, 5 insertions, 4 deletions
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()