Hi, Would someone be able to tell me if there an easy way to reproduce
in a text file how the body of an item appears in the detail view on the
screen, that is, with the same carriage returns/line feeds? When I
encode as utf-8 (or ascii-us) and write to a file, the control
characters seem to be left out. Lists I've entered into the body of
Chandler items appear as "paragraphs" in the text file.

I've been reading the detail block scripts. Will I need to call some of
the "multi-line" type and line-representation type logic?

(I hope this exchange doesn't seem like only a Python tutorial. In part,
to me, it's a bit of a tour of Chandler internals.)

Thanks, Andre

Andre Mueninghoff wrote:
> Figured it out...it always in the end seems so silly and
> simple...particularly in this case:
>
>             file.write('%s\r\n' % item_title)
>             file.write('%s\r\n\r\n' % itemAttributes)
>             file.write('%s\r\n' % item_body)
>
> Andre
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to