mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix output of abnormally short lines in .lyx files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30192 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
16f119cab5
commit
2eaac90ca5
@ -1189,15 +1189,16 @@ void Paragraph::write(ostream & os, BufferParams const & bparams,
|
||||
int column = 0;
|
||||
for (pos_type i = 0; i <= size(); ++i) {
|
||||
|
||||
Change change = lookupChange(i);
|
||||
Change const change = lookupChange(i);
|
||||
Changes::lyxMarkChange(os, column, running_change, change);
|
||||
running_change = change;
|
||||
|
||||
if (i == size())
|
||||
break;
|
||||
|
||||
// Write font changes
|
||||
Font const & font2 = getFontSettings(bparams, i);
|
||||
// Write font changes (ignore spelling markers)
|
||||
Font font2 = getFontSettings(bparams, i);
|
||||
font2.setMisspelled(false);
|
||||
if (font2 != font1) {
|
||||
font2.lyxWriteChanges(font1, os);
|
||||
column = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user