KTextEditor

Marc Mutz mutz at kde.org
Tue Oct 8 11:04:22 BST 2002


On Tuesday 08 October 2002 10:47, David Faure wrote:
> On Tuesday 08 October 2002 01:05, Marc Mutz wrote:
> > On Monday 07 October 2002 09:52, David Faure wrote:
> > <snip>
> >
> > > - As stated before, the only "rich text"-related method needed in
> > > the interface is something like "save to HTML". What else does
> > > KMail need?
> >
> > <snip>
> >
> > It needs to see the formatting control codes to determine whether
> > to send text/html or text/enriched.
>
> What's text/enriched?

A very lightweight richtext format for use in mails. RFC 1896.

Management summary:
- Command syntax: <command>text</command>
- "<<" = "<"
- CRLF{n} == CRLF{n-1} where CRLF{0} == SPACE
- Commands:
  o bold / italic / underline
  o fixed / fontfamiliy
  o color
  o smaller / bigger
  o center / flush{left,right,both} / paraindent
  o nofill
  o excerpt / lang

An example is attached. Before KMail starts writing HTML sh*t, it should 
properly support this format and text/plain; format=flowed, which is 
what 90% of users really need when they use HTML mails, without the bad 
aura that HTML mails has.

Marc

-- 
If this were a dictatorship, it'd be a heck of a lot easier...just as
long as I'm the dictator...
-- George W. Bush, Washington, DC, Dec 18, 2000,
   during his first trip to Washington as President-Elect
-------------- next part --------------
An embedded message was scrubbed...
From: unknown sender
Subject: no subject
Date: no date
Size: 4140
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20021008/d86bcfab/attachment.eml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20021008/d86bcfab/attachment.sig>


More information about the kde-core-devel mailing list