]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Context.cpp
Improve comment
[lyx.git] / src / tex2lyx / Context.cpp
index 61685180bdd074b1f5e7f38e8b464f31432d85bc..283846e7cf4b7271ff3156643150c51be3b4e5a1 100644 (file)
@@ -85,7 +85,7 @@ Context::Context(bool need_layout_,
          new_layout_allowed(true), merging_hyphens_allowed(true),
          textclass(textclass_),
          layout(layout_), parent_layout(parent_layout_),
-         font(font_)
+         font(font_), tablerotation(0)
 {
        if (!layout)
                layout = &textclass.defaultLayout();
@@ -140,9 +140,9 @@ void Context::check_layout(ostream & os)
                                begin_layout(os, layout);
                                has_item = false;
                        } else {
-                               // a standard paragraph in an
-                               // enumeration. We have to recognize
-                               // that this may require a begin_deeper.
+                               // A standard paragraph in a list.
+                               // We have to recognize that this
+                               // may require a begin_deeper.
                                if (!deeper_paragraph)
                                        begin_deeper(os);
                                begin_layout(os, &textclass.defaultLayout());
@@ -247,6 +247,8 @@ void Context::dump(ostream & os, string const & desc) const
                os << "extrastuff=[" << extra_stuff << "] ";
        if (!par_extra_stuff.empty())
                os << "parextrastuff=[" << par_extra_stuff << "] ";
+       if (!list_extra_stuff.empty())
+               os << "listextrastuff=[" << list_extra_stuff << "] ";
        os << "textclass=" << textclass.name()
           << " layout=" << to_utf8(layout->name())
           << " parent_layout=" << to_utf8(parent_layout->name()) << "] font=["