mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-27 10:37:53 +00:00
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:
parent
3580c1482c
commit
ee9699ce39
@ -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
|
A typical example is inset-forall Note note-insert which starts an infinite
|
||||||
loop.
|
loop.
|
||||||
This is mitigated by the fact that the number of actions is arbitrarily
|
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,
|
Note also that inset-forall does not update metrics between iterations,
|
||||||
which can lead to bugs.
|
which can lead to bugs.
|
||||||
This has to be eventually fixed.
|
This has to be eventually fixed.
|
||||||
|
@ -1764,7 +1764,7 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
|||||||
FuncRequest const fr = lyxaction.lookupFunc(commandstr);
|
FuncRequest const fr = lyxaction.lookupFunc(commandstr);
|
||||||
|
|
||||||
// an arbitrary number to limit number of iterations
|
// an arbitrary number to limit number of iterations
|
||||||
const int max_iter = 10000;
|
const int max_iter = 100000;
|
||||||
int iterations = 0;
|
int iterations = 0;
|
||||||
Cursor & cur = d->cursor_;
|
Cursor & cur = d->cursor_;
|
||||||
Cursor const savecur = cur;
|
Cursor const savecur = cur;
|
||||||
|
@ -2397,7 +2397,7 @@ void LyXAction::init()
|
|||||||
A typical example is
|
A typical example is
|
||||||
inset-forall Note note-insert
|
inset-forall Note note-insert
|
||||||
which starts an infinite loop. This is mitigated by the fact
|
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
|
Note also that inset-forall does not update metrics between
|
||||||
iterations, which can lead to bugs. This has to be eventually
|
iterations, which can lead to bugs. This has to be eventually
|
||||||
fixed.
|
fixed.
|
||||||
|
@ -47,6 +47,8 @@ What's new
|
|||||||
- Slightly reduced space around inset buttons, to make it clearer when
|
- Slightly reduced space around inset buttons, to make it clearer when
|
||||||
there is a real space there (bug 7256).
|
there is a real space there (bug 7256).
|
||||||
|
|
||||||
|
- Let inset-toggle work for very large documents (bug 7945).
|
||||||
|
|
||||||
|
|
||||||
* DOCUMENTATION AND LOCALIZATION
|
* DOCUMENTATION AND LOCALIZATION
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user