dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Word Wrap text viewer

Re: Word Wrap text viewer

From: <>
Date: Thu, 23 Jan 2003 08:47:55 CET


I'm the one who came up with the initial implementation of the text viewer. A few people requested the word-wrap option but it is not as simple as is sounds because we do not actually store the whole file in memory but only a 1 or 2k buffer.

I spent a little time trying to implement this option but didn't submit a patch because I was not really hapy with the result. The problem in my implementation was that the wrap point was not allways constant.

eg: The line
   This is a sample line
would wrap in
   This is a sample
while scrolling down,
   is a sample line
while scrolling up.

I probably still have the code for that so if you think this behaviour is acceptable I can submit a patch.


> Hi,
> I was wondering if this feature (word wrap for the text viewer) has been
> already discussed here.
> Would it be hard to implement ?
> henri


Travail, argent, rencontres... Les astres vous répondent !
Retrouvez votre horoscope personnalisé au 0 892 02 61 60 (0,34 €/mn).
Received on 2003-01-23

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy