On 29 Nov 2000, Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
>
> | In the UserGuide :
> |
> | The undo-mechanism has been limited to 100 steps in the beta-version, as this
> | feature has not yet been properly tested out.
> |
> | Is this still true?
> |
> | In lyxfunc.C::Dispatch()
> | case LFUN_UNDO:
> | disable = buf->undostack.empty();
> | break;
> |
> | I can see no limit here.
>
> Actually we have a limit:
>
> src/undo.C:83,92
>
> This limit is initialized to 100.
>
> There is a problem with having no limit... we will always keep undo
> information from the momemnt when lyx was started and for long runs
> this can be a long time and a lot of bits in the undo stack...
>
> Lgb
>
The standard thing unlimited-undo apps do here is to empty the undo stack
when the document is saved. Whether you want to do that or not is a
different matter ...
john
--
"Creating laws which cannot be universally enforced leads to arbitrary enforcement."
- Upsilon, /.