From kde-commits Mon Apr 04 17:40:14 2005 From: Christoph Cullmann Date: Mon, 04 Apr 2005 17:40:14 +0000 To: kde-commits Subject: Re: kdelibs/kate Message-Id: <200504041940.17743 () cullmann> X-MARC-Message: https://marc.info/?l=kde-commits&m=111263650130362 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1277709.8iGcbAOfS2" --nextPart1277709.8iGcbAOfS2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 03 April 2005 20:26, David Faure wrote: > On Sunday 03 April 2005 19:32, Christoph Cullmann wrote: > > CVS commit by cullmann: > > > > here we go > > change the copy method back to only copy plain text, no, this is needed, > > if you have large docs, try to make a copy of it all, if highlighting is > > active, you wait years > > This could be fixed by calling the export-to-html code from > encodedData(format) only, i.e. on demand. btw., just thought about this: wouldn't work, as to create the highlighted= =20 text, just having the text stored in the dragobject until then won't help, = it=20 would still need the kateview in exactly the state which was valid as the=20 copy() action occured, to have a consistent hl and unchanged text, as just= =20 textparts out of context couldn't get highlighted correct ;) therefor,=20 highlighting would need to be done in the copy() action, and not delayed,=20 this split into 2 actions is the only fix possible, I guess =2D-=20 Christoph Cullmann KDE Developer, kde.org Maintainance Team http://www.babylon2k.de, cullmann@kde.org --nextPart1277709.8iGcbAOfS2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBCUXwByPjDGePm9UIRAqu1AKCUROERkb3sQybOLc9EmzAqQFrxAwCgsd/h 1UCLLpO9T8bFyzQhuqYmS4M= =CNi6 -----END PGP SIGNATURE----- --nextPart1277709.8iGcbAOfS2--