}
void CCrystalEditView::
+CopyProperties (CCrystalTextView* pSource)
+{
+ CCrystalTextView::CopyProperties(pSource);
+ auto pSourceEditView = dynamic_cast<decltype(this)>(pSource);
+ if (!pSourceEditView)
+ return;
+ m_bDisableBSAtSOL = pSourceEditView->m_bDisableBSAtSOL;
+ m_bOvrMode = pSourceEditView->m_bOvrMode;
+ m_bAutoIndent = pSourceEditView->m_bAutoIndent;
+}
+
+void CCrystalEditView::
OnEditRedo ()
{
DoEditRedo();
return GetDocument()->m_ptBuf[m_nThisPane].get();
}
+void CMergeEditView::CopyProperties(CCrystalTextView* pSource)
+{
+ __super::CopyProperties(pSource);
+ auto pSourceEditView = dynamic_cast<decltype(this)>(pSource);
+ if (!pSourceEditView)
+ return;
+ m_bChangedSchemeManually = pSourceEditView->m_bChangedSchemeManually;
+}
+
/**
* @brief Update any resources necessary after a GUI language change
*/
SetTextType(def->type);
else
SetTextType(CrystalLineParser::SRC_PLAIN);
+ SetDisableBSAtSOL(false);
}
SetWordWrapping(GetOptionsMgr()->GetBool(OPT_WORDWRAP));