Added Copy and Paste functions to GHOST.
[blender-staging.git] / source / blender / src / header_text.c
index ac7f4be9ec078d85049301880fbdf3f08df19412..9ee7896d65e94c30d678b63e6e7026d91c5b3dbf 100644 (file)
@@ -348,14 +348,16 @@ static void do_text_editmenu(void *arg, int event)
                txt_do_redo(text);
                break;
        case 3:
                txt_do_redo(text);
                break;
        case 3:
+               txt_copy_clipboard(text);
                txt_cut_sel(text);
                pop_space_text(st);
                break;
        case 4:
                txt_cut_sel(text);
                pop_space_text(st);
                break;
        case 4:
-               txt_copy_sel(text);
+               //txt_copy_sel(text);
+               txt_copy_clipboard(text);
                break;
        case 5:
                break;
        case 5:
-               txt_paste(text);
+               txt_paste_clipboard(text);
                if (st->showsyntax) get_format_string(st);
                break;
        case 6:
                if (st->showsyntax) get_format_string(st);
                break;
        case 6: