class EDITPADC_CLASS CTextMarkerDlg : public CDialog\r
{\r
private :\r
- CCrystalTextMarkers m_tempMarkers;\r
- CCrystalTextMarkers& m_markers;\r
- int GetSelectedItemIndex() const;\r
- void UpdateDataListView(bool bSaveAndValidate);\r
+ CCrystalTextMarkers m_tempMarkers;\r
+ CCrystalTextMarkers& m_markers;\r
+ int GetSelectedItemIndex() const;\r
+ void UpdateDataListView(bool bSaveAndValidate);\r
\r
// Construction\r
public :\r
- CTextMarkerDlg (CCrystalTextMarkers& markers, const CString& sPattern = _T(""), DWORD dwFlags = 0);\r
- DWORD GetLastSearchFlags() const;\r
+ explicit CTextMarkerDlg (CCrystalTextMarkers& markers, const CString& sPattern = _T(""), DWORD dwFlags = 0);\r
+ DWORD GetLastSearchFlags() const;\r
\r
// Dialog Data\r
//{{AFX_DATA(CTextMarkerDlg)\r
enum { IDD = IDD_EDIT_MARKER };\r
CComboBox m_ctlBgColorIdx;\r
CButton m_ctlWholeWord;\r
- CListCtrl m_listMarkers;\r
- CString m_sFindWhat;\r
- int m_nBgColorIndex;\r
- int m_nCurItemIndex;\r
+ CListCtrl m_listMarkers;\r
+ CString m_sFindWhat;\r
+ int m_nBgColorIndex;\r
+ int m_nCurItemIndex;\r
bool m_bMatchCase;\r
bool m_bWholeWord;\r
bool m_bRegExp;\r
- bool m_bMarkersEnabled;\r
+ bool m_bMarkersEnabled;\r
//}}AFX_DATA\r
\r
// Overrides\r
// Generated message map functions\r
//{{AFX_MSG(CTextMarkerDlg)\r
virtual BOOL OnInitDialog ();\r
- virtual void OnOK();\r
+ virtual void OnOK();\r
afx_msg void OnBnclickedEditRegExp ();\r
- afx_msg void OnBnClickedEditMarkerNew();\r
- afx_msg void OnBnClickedEditMarkerDelete();\r
- afx_msg void OnBnClickedApplyNow();\r
- afx_msg void OnEditchangeEditFindtext();\r
- afx_msg void OnItemchangingEditMarkerList(NMHDR *pNMHDR, LRESULT *pResult);\r
- afx_msg void OnItemchangedEditMarkerList(NMHDR *pNMHDR, LRESULT *pResult);\r
+ afx_msg void OnBnClickedEditMarkerNew();\r
+ afx_msg void OnBnClickedEditMarkerDelete();\r
+ afx_msg void OnBnClickedApplyNow();\r
+ afx_msg void OnEditchangeEditFindtext();\r
+ afx_msg void OnItemchangingEditMarkerList(NMHDR *pNMHDR, LRESULT *pResult);\r
+ afx_msg void OnItemchangedEditMarkerList(NMHDR *pNMHDR, LRESULT *pResult);\r
//}}AFX_MSG\r
DECLARE_MESSAGE_MAP ()\r
public:\r