> acme's wrapping is fine for line-oriented files.
> programs that have special needs can work a little harder
> (see mc, for example).  i don't think acme could
> reasonably be expected to wrap *-indented lines,
> for example.  i told you in the original email that you
> could write the Wiki code to do the wrapping, but you
> ignored that part.  i repeat what i said before:
Sorry, I didn't mean to ignore it, I thought it was duplicated work
that could be done in a single place instead of in every app that
might need it.  Doing wrapping properly for variable font width is
just way too much hassle for most apps that just want to deal with
text and not worry about how it gets displayed as long as it's
readable.

Also I would like to be able to resize acme windows and have the
wrapping adapt to the new size, this is specially important for long-lived
apps like irc clients. Acme apps might be able to pick size changes and apply
them to the whole window, but that is harder(or impossible) for apps
run inside win(yes, I'm aware that then the issue is no different than with
rio windows.)

After some more thinking I still can't see how this can be done cleanly
without doing it inside acme.

uriel

> 
>> > it is true that Wiki itself should
>> > be doing the line wrapping, but unless
>> > you want to write that code, i would
>> > just leave the wrapping in wikifs.
> 
> look at mc for an example.
> 
> russ

Reply via email to