{"id":37668,"date":"2022-11-21T18:21:53","date_gmt":"2022-11-21T23:21:53","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=37668"},"modified":"2022-11-21T18:23:42","modified_gmt":"2022-11-21T23:23:42","slug":"mac-text-editing-mark-kill-yank","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2022\/11\/21\/mac-text-editing-mark-kill-yank\/","title":{"rendered":"Mac Text Editing: Mark, Kill, Yank"},"content":{"rendered":"<p><a href=\"https:\/\/www.hogbaysoftware.com\/posts\/mac-text-editing-mark-kill-yank\/\">Jesse Grosjean<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.hogbaysoftware.com\/posts\/mac-text-editing-mark-kill-yank\/\">\n<p>There isn&rsquo;t much documentation of the macOS implementation. Much of the following behavior was discovered by experimenting with TextEdit.<\/p>\n<p>[&#8230;]<\/p>\n<p>When text is deleted by certain actions it gets added to the kill ring. By default the kill ring contains a single text entry. If you change the <code>NSTextKillRingSize<\/code> system default the kill ring can contain multiple entries.<\/p>\n<p>[&#8230;]<\/p>\n<p>Each app maintains a private kill ring. You can kill text in one view and then yank it into another view within the same app. You can&rsquo;t kill or yank between apps.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Jesse Grosjean: There isn&rsquo;t much documentation of the macOS implementation. Much of the following behavior was discovered by experimenting with TextEdit. [&#8230;] When text is deleted by certain actions it gets added to the kill ring. By default the kill ring contains a single text entry. If you change the NSTextKillRingSize system default the kill [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2022-11-21T23:21:56Z","apple_news_api_id":"7f6dd425-c735-4f42-af79-a6f9b313b498","apple_news_api_modified_at":"2022-11-21T23:23:44Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/Af23UJcc1T0Kveab5sxO0mA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[2206,69,124,30,32,2223,74,71,68],"class_list":["post-37668","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-bike","tag-cocoa","tag-emacs","tag-mac","tag-macapp","tag-macos-13-ventura","tag-opensource","tag-programming","tag-texteditor"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=37668"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37668\/revisions"}],"predecessor-version":[{"id":37669,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37668\/revisions\/37669"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=37668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=37668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=37668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}