comparison src/gui_mac.c @ 17063:3147c7c2e86b v8.1.1531

patch 8.1.1531: clipboard type name is inconsistent commit https://github.com/vim/vim/commit/0554fa478d27c611d23a814c987eb66f9daae6f7 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 14 21:36:54 2019 +0200 patch 8.1.1531: clipboard type name is inconsistent Problem: Clipboard type name is inconsistent. Solution: Rename VimClipboard to Clipboard_T.
author Bram Moolenaar <Bram@vim.org>
date Fri, 14 Jun 2019 21:45:06 +0200
parents ce04ebdf26b8
children 506bf60a30a0
comparison
equal deleted inserted replaced
17062:ee88967a2cd5 17063:3147c7c2e86b
4432 * TODO: add a vim format to the clipboard which remember 4432 * TODO: add a vim format to the clipboard which remember
4433 * LINEWISE, CHARWISE, BLOCKWISE 4433 * LINEWISE, CHARWISE, BLOCKWISE
4434 */ 4434 */
4435 4435
4436 void 4436 void
4437 clip_mch_request_selection(VimClipboard *cbd) 4437 clip_mch_request_selection(Clipboard_T *cbd)
4438 { 4438 {
4439 4439
4440 Handle textOfClip; 4440 Handle textOfClip;
4441 int flavor = 0; 4441 int flavor = 0;
4442 Size scrapSize; 4442 Size scrapSize;
4522 4522
4523 DisposeHandle(textOfClip); 4523 DisposeHandle(textOfClip);
4524 } 4524 }
4525 4525
4526 void 4526 void
4527 clip_mch_lose_selection(VimClipboard *cbd) 4527 clip_mch_lose_selection(Clipboard_T *cbd)
4528 { 4528 {
4529 /* 4529 /*
4530 * TODO: Really nothing to do? 4530 * TODO: Really nothing to do?
4531 */ 4531 */
4532 } 4532 }
4533 4533
4534 int 4534 int
4535 clip_mch_own_selection(VimClipboard *cbd) 4535 clip_mch_own_selection(Clipboard_T *cbd)
4536 { 4536 {
4537 return OK; 4537 return OK;
4538 } 4538 }
4539 4539
4540 /* 4540 /*
4541 * Send the current selection to the clipboard. 4541 * Send the current selection to the clipboard.
4542 */ 4542 */
4543 void 4543 void
4544 clip_mch_set_selection(VimClipboard *cbd) 4544 clip_mch_set_selection(Clipboard_T *cbd)
4545 { 4545 {
4546 Handle textOfClip; 4546 Handle textOfClip;
4547 long scrapSize; 4547 long scrapSize;
4548 int type; 4548 int type;
4549 ScrapRef scrap; 4549 ScrapRef scrap;