]> git.lyx.org Git - features.git/commitdiff
Backport fix for 7945.
authorPavel Sanda <sanda@lyx.org>
Thu, 15 Dec 2011 22:06:04 +0000 (22:06 +0000)
committerPavel Sanda <sanda@lyx.org>
Thu, 15 Dec 2011 22:06:04 +0000 (22:06 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40503 a592a061-630c-0410-9148-cb99ea01b6c8

lib/doc/LFUNs.lyx
src/BufferView.cpp
src/LyXAction.cpp
status.20x

index a41ac32a9adce9af6228c7ef513bce35e2f0e10f..55bbc48329d4d5b9554dd6cffa69f418371079cd 100644 (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.
index 97c9f20e58cb39053d05f118adaacd59431913f2..e637dee19d8013258d39c022c8ecf3feadad192b 100644 (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;
index f9ee2f8730a239c2551c61ec7b940cc0026e340d..a58fc5e3412fd6f1e237b490afc4d6ea161af278 100644 (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.
index b9808a3b0dfe2425ae838471ff76a5bca88f6005..7c06a3aead331d1640bd966b7c176519308c3487 100644 (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