4 * @brief Declaration of PropCompare propertysheet
8 #include "OptionsPanel.h"
13 * @brief Property page to set compare options for WinMerge.
16 * - Compare all whitespaces, recommended for merging!
17 * - Ignore changes in whitespaces (amount of spaces etc)
18 * - Ignore all whitespace characters
20 class PropCompare : public OptionsPanel
24 explicit PropCompare(COptionsMgr *optionsMgr);
26 // Implement IOptionsPanel
27 virtual void ReadOptions() override;
28 virtual void WriteOptions() override;
31 //{{AFX_DATA(PropCompare)
32 enum { IDD = IDD_PROPPAGE_COMPARE };
33 bool m_bIgnoreCodepage;
36 bool m_bIgnoreNumbers;
37 bool m_bIgnoreBlankLines;
40 bool m_bMatchSimilarLines;
41 bool m_bFilterCommentsLines;
43 bool m_bIndentHeuristic;
44 bool m_bCompleteBlankOutIgnoredChanges;
49 // ClassWizard generated virtual function overrides
50 //{{AFX_VIRTUAL(PropCompare)
52 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
57 // Generated message map functions
58 //{{AFX_MSG(PropCompare)
59 afx_msg BOOL OnInitDialog() override;
60 afx_msg void OnDefaults();
61 afx_msg void OnCbnSelchangeDiffAlgorithm();
65 void UpdateControls();