-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathObScriptErrorView.h
72 lines (45 loc) · 1.58 KB
/
ObScriptErrorView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#if !defined(AFX_OBSCRIPTERRORVIEW_H__41F19D94_176A_4B70_95D1_E8B10A776D10__INCLUDED_)
#define AFX_OBSCRIPTERRORVIEW_H__41F19D94_176A_4B70_95D1_E8B10A776D10__INCLUDED_
class CObScptView;
class CObScriptErrorView : public CFormView {
DECLARE_DYNCREATE(CObScriptErrorView);
protected:
CObScptView* m_pScriptView;
bool m_HasDblClick;
protected:
CObScriptErrorView();
virtual ~CObScriptErrorView();
public:
void ClearErrors (void);
void AddError (CObScriptError* pError);
void AddErrors (CObScriptErrorArray& Errors);
void AddMessage (const char* pString, ...);
CObScriptError* FindErrorFromLine (const int Line);
void SetScriptView (CObScptView* pView) { m_pScriptView = pView; }
//{{AFX_DATA(CObScriptErrorView)
enum { IDD = IDD_SCRIPTERROR_VIEW };
CRichEditCtrl m_ErrorText;
//}}AFX_DATA
/* ClassWizard generated virtual function overrides */
//{{AFX_VIRTUAL(CObScriptErrorView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
/* Generated message map functions */
//{{AFX_MSG(CObScriptErrorView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnDblclkErrortext(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnMsgfilterErrortext(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP();
};
//{{AFX_INSERT_LOCATION}}
//}}AFX_INSERT_LOCATION
#endif