]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
Fix bug #7657: Detect inkscape from the configure script
[lyx.git] / src / Paragraph.cpp
index 8ec57a5511b1aca5f60899338666d59cba5ded91..60668124b6c6b92e6b9424fb087a9be2b93ea6a0 100644 (file)
@@ -510,6 +510,8 @@ Paragraph::Private::Private(Paragraph * owner, Layout const & layout)
 // FIXME: There should be a more intelligent way to generate and use the
 // paragraph ids per buffer instead a global static counter for all InsetText
 // in the running program.
+// However, this per-session id is used in LFUN_PARAGRAPH_GOTO to
+// switch to a different buffer, as used in the outliner for instance.
 static int paragraph_id = -1;
 
 Paragraph::Private::Private(Private const & p, Paragraph * owner)
@@ -2565,7 +2567,7 @@ void Paragraph::latex(BufferParams const & bparams,
        if (allowcust && d->endTeXParParams(bparams, os, runparams)
            && runparams.encoding != prev_encoding) {
                runparams.encoding = prev_encoding;
-               if (!runparams.isFullUnicode())
+               if (!runparams.isFullUnicode()) // FIXME: test for UseTeXFonts
                        os << setEncoding(prev_encoding->iconvName());
        }