mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
On the road to fix #6415. The texrow object contains the correspondance
table between tex rows and the lyx paragraph ids. Not fixed yet it seems as the texrow object do not copy correctly. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32876 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d95aaa0e5b
commit
cf3baab621
@ -3203,6 +3203,14 @@ bool Buffer::doExport(string const & format, bool put_in_tempdir,
|
||||
if (!success)
|
||||
return false;
|
||||
|
||||
if (d->cloned_buffer_) {
|
||||
// Enable reverse dvi or pdf to work by copying back the texrow
|
||||
// object to the cloned buffer.
|
||||
// FIXME: There is a possibility of concurrent access to texrow
|
||||
// here from the main GUI thread that should be securized.
|
||||
d->cloned_buffer_->d->texrow = d->texrow;
|
||||
}
|
||||
|
||||
if (put_in_tempdir) {
|
||||
result_file = tmp_result_file.absFilename();
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user