Next step with (diff)options. I'm doing this few steps
to make patch simpler and testing easier.
* Adds CMergeDoc::ReadSettings() to mergedocs read
* CMergeDoc::Rescan() and CMergeDoc::Showlinediff() now
use CMergeDoc::m_diffWrapper settings, not CMainFrame
* When CMainFrame changes options,
CMergeDoc::ReadSettings() is called to read saved
settings from registry()
* CDiffWrapper loads diffsettings from registry in
Also couple of diffoptions I missed earlier are added
My plan is to add ReadSettings() and SaveSettings() to
CMergeDoc and CDirDoc. Then docs can read and save
their settings independently from CMainFrame.
CMainFrame still knows options user can change using
options dialog. But instead docs using CMainFrame
members, CMainFrame saves settings to registry and
tells docs to re-read them.
Log in to post a comment.