⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c02ideview.h

📁 类似vc的集成开发环境
💻 H
字号:
// C02IDEView.h : interface of the CC02IDEView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_DEVSTUDIOUIDEMOVIEW_H__A70BFFAE_2939_11D3_873E_000000000000__INCLUDED_)
#define AFX_DEVSTUDIOUIDEMOVIEW_H__A70BFFAE_2939_11D3_873E_000000000000__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

//#define CHtmlView		CCJHtmlView

#include "CCrystalEditView.h"
#include "TitleTip.h"
#include "mycompiler.h"
class CC02IDEDoc;

class CC02IDEView : public CCrystalEditView
{
protected: // create from serialization only
	CC02IDEView();
	DECLARE_DYNCREATE(CC02IDEView)

// Attributes
public:
	CC02IDEDoc* GetDocument();
	CPoint pt,ptlast;
	CString str_bgstr,str_bgstrlast,str_output;
	virtual CCrystalTextBuffer *LocateTextBuffer();

	int  OnFindNext(int n_outbox,CString str_find);
	 
	UINT m_nFlags;
	CString & GetCurrentDirectory();
    void InsertFunc(CString mystring);
	int DeleteFunction(int n_delfile,int n_selfunc);
	int CompileCurFile();
	BOOL b_buildgo;
	BOOL b_buildstopgo;
	void OnUpdateLineNumber(CCmdUI* pCmdUI);
	void OnUpdateRowNumber(CCmdUI* pCmdUI);
//	   CTitleTip m_TitleTip;
	MyCompiler com;
	CString GetBackStr();


protected:
	virtual DWORD ParseLine(DWORD dwCookie, int nLineIndex, TEXTBLOCK *pBuf, int &nActualItems);

// Operations
public:

	void GotoLine(int n_line);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CC02IDEView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CC02IDEView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CC02IDEView)
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	afx_msg void OnEditBreakpoint();
	afx_msg void OnEditRemovebreak();
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnUpdateEditBreakpoint(CCmdUI* pCmdUI);
	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
	afx_msg void OnSearchOpenedfile();
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in SampleView.cpp
inline CC02IDEDoc* CC02IDEView::GetDocument()
   { return (CC02IDEDoc*)m_pDocument; }
#endif


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DEVSTUDIOUIDEMOVIEW_H__A70BFFAE_2939_11D3_873E_000000000000__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -