]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
Fix thinko in loop detection
[lyx.git] / src / Layout.h
index 05f6cbd08a07f31b0cfb8154d20922f623e28d16..0f5ebbf86b43a20cd6eb8d8be73c8462406c4987 100644 (file)
@@ -116,8 +116,8 @@ public:
        /// Returns latexargs() + postcommandargs() + itemargs().
        /// But note that it returns a *copy*, not a reference, so do not do
        /// anything like:
-       ///   Layout::LaTeXArgMap it = args().begin();
-       ///   Layout::LaTeXArgMap en = args().end();
+       ///   Layout::LaTeXArgMap::iterator it = args().begin();
+       ///   Layout::LaTeXArgMap::iterator en = args().end();
        /// Those are iterators for different containers.
        LaTeXArgMap args() const;
        ///
@@ -280,6 +280,8 @@ public:
        ///
        bool nextnoindent;
        ///
+       ToggleIndentation toggle_indent;
+       ///
        bool free_spacing;
        ///
        bool pass_thru;