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

List:       kde-commits
Subject:    Re: kdelibs/kate
From:       David Faure <faure () kde ! org>
Date:       2005-04-04 8:40:27
Message-ID: 200504041040.27937.faure () kde ! org
[Download RAW message or body]

On Monday 04 April 2005 09:19, Christoph Cullmann wrote:
> 
> <zitiere wer="David Faure">
> > 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. But of course the real reason for having separate actions
> > is that it
> > makes it easier to choose "copy plain text" vs "copy formatted text" for
> > the cases
> > where the recipient doesn't allow choosing (e.g. a word processor).
> > So I'm in favour of the change, but just pointing out that the reason
> > being given
> > isn't really the right one :)
> I guess in that case, I would need to change code again, as the copy as HTML
> still copies both mimetype variants, but you would prefer the "sole html"
> in that case, or?

Hmm, I expected that it would copy as HTML only. But anyway most recipients
take HTML when both are there (e.g. openoffice). Those which don't support pasting
HTML (like, hrmmm, kword) will then be able to use the plain-text as fallback, which
is probably not bad :)

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread] 

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