On 23/07/2015 16:45, Jean-Marc Lasgouttes wrote:
Le 23/07/2015 16:29, Richard Heck a écrit :
I wonder how bad this will be. In practice, people do not actually use
that many different words when writing. Probably no more than a few
hundred, and a couple thousand, at most.
It is not a problem of words, it is a problem of lines of text. For
example, for displaying this previous sentence while typing it, I have
to evaluate the length of
I
It
It_
It i
It is
It is_
It is n
[... lots of entries ...]]
It is not a problem of words, it is a problem of lines of te
It is not a problem of words, it is a problem of lines of tex
It is not a problem of words, it is a problem of lines of text
It is not a problem of words, it is a problem of lines of text.
These strings will remain forever in the map, and I will never need
them anymore.
Easy way out (IIUC): Don't use the cache in the currently edited row or
even the 2 rows after the current row in the current paragraph to cope
with automatic justification.
Abdel