{"action":"created","issue":{"url":"https://api.github.com/repos/0b0bby0/DNApy/issues/21","labels_url":"https://api.github.com/repos/0b0bby0/DNApy/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/0b0bby0/DNApy/issues/21/comments","events_url":"https://api.github.com/repos/0b0bby0/DNApy/issues/21/events","html_url":"https://github.com/0b0bby0/DNApy/pull/21","id":53130007,"number":21,"title":"use wx.TheClipboard for copying features between two instances","user":{"login":"openpaul","id":3997610,"avatar_url":"https://avatars.githubusercontent.com/u/3997610?v=3","gravatar_id":"","url":"https://api.github.com/users/openpaul","html_url":"https://github.com/openpaul","followers_url":"https://api.github.com/users/openpaul/followers","following_url":"https://api.github.com/users/openpaul/following{/other_user}","gists_url":"https://api.github.com/users/openpaul/gists{/gist_id}","starred_url":"https://api.github.com/users/openpaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openpaul/subscriptions","organizations_url":"https://api.github.com/users/openpaul/orgs","repos_url":"https://api.github.com/users/openpaul/repos","events_url":"https://api.github.com/users/openpaul/events{/privacy}","received_events_url":"https://api.github.com/users/openpaul/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-30T17:06:17Z","updated_at":"2015-01-12T21:58:08Z","closed_at":"2015-01-12T21:52:30Z","pull_request":{"url":"https://api.github.com/repos/0b0bby0/DNApy/pulls/21","html_url":"https://github.com/0b0bby0/DNApy/pull/21","diff_url":"https://github.com/0b0bby0/DNApy/pull/21.diff","patch_url":"https://github.com/0b0bby0/DNApy/pull/21.patch"},"body":"I just implemented the use of wx.TheClipboard. This enables to store different types of content between applications.\r\n\r\nSo I made a text copy of the dna the standart. It gets pasted whenever someone copys from DNApy to gedit or somewhere else.\r\nIf you paste from DNApy to DNApy it will instead try to use a different content I  called \"application/DNApy\". It is the same object as the self.clipboard instance you used before.\r\n\r\nThe functions RichCopy and RichPaste handle the operations.\r\n\r\nTake a look at the code, I think it is a rather small change to the previous state.\r\n\r\nI now will try to make selection more powerfull, to allow selections with start>finish in circular dna."},"comment":{"url":"https://api.github.com/repos/0b0bby0/DNApy/issues/comments/69654383","html_url":"https://github.com/0b0bby0/DNApy/pull/21#issuecomment-69654383","issue_url":"https://api.github.com/repos/0b0bby0/DNApy/issues/21","id":69654383,"user":{"login":"0b0bby0","id":5589982,"avatar_url":"https://avatars.githubusercontent.com/u/5589982?v=3","gravatar_id":"","url":"https://api.github.com/users/0b0bby0","html_url":"https://github.com/0b0bby0","followers_url":"https://api.github.com/users/0b0bby0/followers","following_url":"https://api.github.com/users/0b0bby0/following{/other_user}","gists_url":"https://api.github.com/users/0b0bby0/gists{/gist_id}","starred_url":"https://api.github.com/users/0b0bby0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0b0bby0/subscriptions","organizations_url":"https://api.github.com/users/0b0bby0/orgs","repos_url":"https://api.github.com/users/0b0bby0/repos","events_url":"https://api.github.com/users/0b0bby0/events{/privacy}","received_events_url":"https://api.github.com/users/0b0bby0/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T21:58:08Z","updated_at":"2015-01-12T21:58:08Z","body":"The pasting isn't working right. Is it working ok for you? For instance, if I want to paste the reverse complement it does not work. Also, pasting to a new file only works if there is already a feature. Shall I look into this or will you?"}}