From: 김대성 <ad9...@na...> - 2012-02-27 07:19:11
|
Dear. All elementary library developers. I deprecated old apis(elm_entry_cnp_textonly_set/get) in this patch. Please review this patch once again. Best regards. -----Original Message----- From: "Carsten Haitzler"<ra...@ra...> To: "Enlightenment developer list"<enl...@li...> Cc: "김대성"<ad9...@na...> Sent: 12-02-24(금) 18:49:29 Subject: Re: [E-devel] suggest new api for elm_entry's copy & paste behavior On Fri, 17 Feb 2012 17:45:57 +0900 김대성<ad9...@na...> said: could you provide this new api and ALSO deprecate the old apis so we dont have an instant api break? (we can deprecate and move over the next few days/weeeks)? > > Dear. All elementary developer. > > Attached to the mail is the patch for new API. > This patch changes elm_entry_cnp_test_only_set/get APIs to > elm_entry_cnp_mode_set/get APIs. > Patch is useful for 3 cases when copy&paste through entry in application. > case 1 : get original markup text > case 2 : get markup text without image > case 3 : get plain text > > CNP_MODE can be set these values. > EML_CNP_MODE_MARKUP : any tags are not removed. > EML_CNP_MODE_NO_IMAGE : just removes all item tags. > EML_CNP_MODE_PLAINTEXT : removes all item tags, fonts and color tags. > > Please review this patch. > > Best regards. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ra...@ra... |