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();
28 virtual void WriteOptions();
31 //{{AFX_DATA(PropEditor)
32 enum { IDD = IDD_PROPPAGE_EDITOR };
36 bool m_bAutomaticRescan;
37 bool m_bAllowMixedEol;
38 bool m_bViewLineDifferences;
45 // Implementation methods
46 void LoadBreakTypeStrings();
47 void UpdateDataToWindow() { UpdateData(FALSE); }
48 void UpdateDataFromWindow() { UpdateData(TRUE); }
49 void UpdateLineDiffControls();
52 // ClassWizard generated virtual function overrides
53 //{{AFX_VIRTUAL(PropEditor)
55 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
61 // Generated message map functions
62 //{{AFX_MSG(PropEditor)
63 afx_msg BOOL OnInitDialog();
64 afx_msg void OnLineDiffControlClicked();
65 afx_msg void OnEnKillfocusTabEdit();