fix bug from issue298:Emitter stylings settings overridden by node settings. (#915)

This commit is contained in:
Chen
2020-07-06 21:16:38 +08:00
committed by GitHub
parent 026a53fbe1
commit 6d5cfab5fd
6 changed files with 39 additions and 0 deletions

View File

@@ -222,6 +222,10 @@ std::size_t EmitterState::LastIndent() const {
void EmitterState::ClearModifiedSettings() { m_modifiedSettings.clear(); }
void EmitterState::RestoreGlobalModifiedSettings() {
m_globalModifiedSettings.restore();
}
bool EmitterState::SetOutputCharset(EMITTER_MANIP value,
FmtScope::value scope) {
switch (value) {