mModel->mVisualModel->mUnderlineRuns.PushBack(underlineGlyphRun);
}
+
+ // Reset flag. The updates have been applied from logical to visual.
+ mModel->mLogicalModel->mUnderlineRunsUpdated = false;
}
void Controller::Impl::CopyStrikethroughFromLogicalToVisualModels()
mModel->mVisualModel->mStrikethroughRuns.PushBack(strikethroughGlyphRun);
}
+
+ // Reset flag. The updates have been applied from logical to visual.
+ mModel->mLogicalModel->mStrikethroughRunsUpdated = false;
}
void Controller::Impl::CopyCharacterSpacingFromLogicalToVisualModels()
mModel->mVisualModel->mCharacterSpacingRuns.PushBack(characterSpacingGlyphRun);
}
+ mModel->mLogicalModel->mCharacterSpacingRunsUpdated = false;
}
void Controller::Impl::SetAutoScrollEnabled(bool enable)
if(!IsShowingPlaceholderText())
{
mModel->mVisualModel->SetTextColor(color);
- mModel->mLogicalModel->mColorRuns.Clear();
mOperationsPending = static_cast<OperationsMask>(mOperationsPending | COLOR);
RequestRelayout();
}