mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Add FIXME
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26294 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ca2bf82ca9
commit
105e0dfe29
@ -450,6 +450,8 @@ static docstring latexString(InsetMathHull const & inset)
|
|||||||
// in text mode (such as $\text{$\phi$}$) gets processed twice. The
|
// in text mode (such as $\text{$\phi$}$) gets processed twice. The
|
||||||
// first time as a whole, and the second time only the inner math.
|
// first time as a whole, and the second time only the inner math.
|
||||||
// In this last case inset.buffer() would be invalid.
|
// In this last case inset.buffer() would be invalid.
|
||||||
|
// FIXME: preview snippets should only be processed once, such that
|
||||||
|
// both static qualifier and isBufferValid() check can be dropped.
|
||||||
static Encoding const * encoding = 0;
|
static Encoding const * encoding = 0;
|
||||||
if (inset.isBufferValid())
|
if (inset.isBufferValid())
|
||||||
encoding = &(inset.buffer().params().encoding());
|
encoding = &(inset.buffer().params().encoding());
|
||||||
|
Loading…
Reference in New Issue
Block a user