Backport fix for 7945.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40503 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2011-12-15 22:06:04 +00:00
parent 3580c1482c
commit ee9699ce39
4 changed files with 5 additions and 3 deletions

View File

@ -4689,7 +4689,7 @@ Notion WARNING: use at your own risks; this function gives you too many
A typical example is inset-forall Note note-insert which starts an infinite
loop.
This is mitigated by the fact that the number of actions is arbitrarily
limited to 10000.
limited to 100000.
Note also that inset-forall does not update metrics between iterations,
which can lead to bugs.
This has to be eventually fixed.

View File

@ -1764,7 +1764,7 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
FuncRequest const fr = lyxaction.lookupFunc(commandstr);
// an arbitrary number to limit number of iterations
const int max_iter = 10000;
const int max_iter = 100000;
int iterations = 0;
Cursor & cur = d->cursor_;
Cursor const savecur = cur;

View File

@ -2397,7 +2397,7 @@ void LyXAction::init()
A typical example is
inset-forall Note note-insert
which starts an infinite loop. This is mitigated by the fact
that the number of actions is arbitrarily limited to 10000.
that the number of actions is arbitrarily limited to 100000.
Note also that inset-forall does not update metrics between
iterations, which can lead to bugs. This has to be eventually
fixed.

View File

@ -47,6 +47,8 @@ What's new
- Slightly reduced space around inset buttons, to make it clearer when
there is a real space there (bug 7256).
- Let inset-toggle work for very large documents (bug 7945).
* DOCUMENTATION AND LOCALIZATION