[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdelibs/kate
From:       Christoph Cullmann <cullmann () babylon2k ! de>
Date:       2005-04-04 17:40:14
Message-ID: 200504041940.17743 () cullmann
[Download RAW message or body]


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

-- 
Christoph Cullmann
KDE Developer, kde.org Maintainance Team
http://www.babylon2k.de, cullmann@kde.org

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic