LyXFont font1(LyXFont::ALL_INHERIT, bparams.language);
Change running_change = Change(Change::UNCHANGED);
LyXFont font1(LyXFont::ALL_INHERIT, bparams.language);
Change running_change = Change(Change::UNCHANGED);
- Changes::lyxMarkChange(os, column, curtime, running_change, change);
+ Changes::lyxMarkChange(os, column, running_change, change);
- column += Changes::latexMarkChange(os, running_change,
- change, output);
- running_change = change;
+ column += Changes::latexMarkChange(os, runningChangeType,
+ changeType, output);
+ runningChangeType = changeType;
os, texrow, rp,
font, running_font,
basefont, outerfont, open_font,
os, texrow, rp,
font, running_font,
basefont, outerfont, open_font,
void Paragraph::changeLanguage(BufferParams const & bparams,
Language const * from, Language const * to)
{
void Paragraph::changeLanguage(BufferParams const & bparams,
Language const * from, Language const * to)
{
LyXFont font = getFontSettings(bparams, i);
if (font.language() == from) {
font.setLanguage(to);
LyXFont font = getFontSettings(bparams, i);
if (font.language() == from) {
font.setLanguage(to);
for (pos_type i = beg; i < end; ++i) {
value_type const c = getUChar(buffer.params(), i);
for (pos_type i = beg; i < end; ++i) {
value_type const c = getUChar(buffer.params(), i);