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

📄 adveditctrl.h

📁 一个PLX教学编译器IDE
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////////////////////////
//                             Author : tuwei                                                  //
//                               ECNU.CS.03                                                    //
//                             2006.9 ~ 2006.11                                                //
//                           Copyright (C) reserved                                            //
//                                                                                             //
//                                                                                             //
//   Function:                                                                                 //                          
//           The middle code view.                                                             //
//                                                                                             //
//   Credit:                                                                                   // 
//           If you use this control in your application please keep the file header in        //
//           your source or put author's name in your product.                                 //
//                                                                                             //
//                                                                                             //
/////////////////////////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_ADVEDITCTRL_H__57CD2DAB_3D42_486A_922F_855010F5534D__INCLUDED_)
#define AFX_ADVEDITCTRL_H__57CD2DAB_3D42_486A_922F_855010F5534D__INCLUDED_

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

#define WM_GETDBCLICKDEBUGMSG WM_USER+2

#include <afxcoll.h>
#include "plxCompiler.h"

class CDebugView : public COutputView
{
public:
	CDebugView();
    virtual ~CDebugView();

public:
	void Clean();
	void AddText(LPCTSTR strError,int errorLine = -1);
	
protected:
	CBrush     m_brBackGround;  
    CString    strWndText;
	int        m_nTextLines;
    CWordArray m_vErrorLine;
public:
	//{{AFX_VIRTUAL(CDebugView)
	//}}AFX_VIRTUAL
protected:
	int getErrorLine(int index);
	//{{AFX_MSG(CDebugView)
	afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif // !defined(AFX_ADVEDITCTRL_H__57CD2DAB_3D42_486A_922F_855010F5534D__INCLUDED_)

⌨️ 快捷键说明

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