On Monday 04 April 2005 19:40, you wrote: > 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 > text, just having the text stored in the dragobject until then won't help, it > would still need the kateview in exactly the state which was valid as the > copy() action occured, to have a consistent hl and unchanged text, as just > textparts out of context couldn't get highlighted correct ;) therefor, > highlighting would need to be done in the copy() action, and not delayed, > this split into 2 actions is the only fix possible, I guess Good point. -- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).