mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
Use Buffer::validate() when previewing single paragraph
We used to use BufferParams::validate(), which does not validate the paragraphs.
This commit is contained in:
parent
33103ebc37
commit
20e667e208
@ -3755,7 +3755,7 @@ auto_ptr<TexRow> Buffer::getSourceCode(odocstream & os, string const & format,
|
|||||||
// in order to know if we should output polyglossia
|
// in order to know if we should output polyglossia
|
||||||
// macros (instead of babel macros)
|
// macros (instead of babel macros)
|
||||||
LaTeXFeatures features(*this, params(), runparams);
|
LaTeXFeatures features(*this, params(), runparams);
|
||||||
params().validate(features);
|
validate(features);
|
||||||
runparams.use_polyglossia = features.usePolyglossia();
|
runparams.use_polyglossia = features.usePolyglossia();
|
||||||
texrow.reset(new TexRow());
|
texrow.reset(new TexRow());
|
||||||
texrow->newline();
|
texrow->newline();
|
||||||
|
@ -79,6 +79,9 @@ What's new
|
|||||||
- The '|' special character in index insets must no longer be inserted via
|
- The '|' special character in index insets must no longer be inserted via
|
||||||
TeX-mode.
|
TeX-mode.
|
||||||
|
|
||||||
|
- Fix preview of language switching commands for single paragraphs in some
|
||||||
|
corner cases.
|
||||||
|
|
||||||
|
|
||||||
* LYX2LYX
|
* LYX2LYX
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user