4 * @brief Declaration file for PropEditor propertyheet
9 #include "OptionsPanel.h"
10 #include "UnicodeString.h"
15 * @brief Property page for editor options.
17 * Editor options affect to editor behavior. For example syntax highlighting
20 class PropEditor : public OptionsPanel
24 explicit PropEditor(COptionsMgr *optionsMgr);
26 // Implement IOptionsPanel
27 virtual void ReadOptions() override;
28 virtual void WriteOptions() override;
31 //{{AFX_DATA(PropEditor)
32 enum { IDD = IDD_PROPPAGE_EDITOR };
36 bool m_bAutomaticRescan;
37 bool m_bAllowMixedEol;
39 bool m_bViewLineDifferences;
47 // Implementation methods
48 void LoadComboBoxStrings();
49 void UpdateDataToWindow() { UpdateData(FALSE); }
50 void UpdateDataFromWindow() { UpdateData(TRUE); }
51 void UpdateLineDiffControls();
54 // ClassWizard generated virtual function overrides
55 //{{AFX_VIRTUAL(PropEditor)
57 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
63 // Generated message map functions
64 //{{AFX_MSG(PropEditor)
65 afx_msg BOOL OnInitDialog() override;
66 afx_msg void OnLineDiffControlClicked();
67 afx_msg void OnEnKillfocusTabEdit();