xedit.cpp

来自「编译原理课程设计VC实现源码(可以运行)」· C++ 代码 · 共 42 行

CPP
42
字号
// XEdit.cpp : implementation file
//

#include "stdafx.h"
#include "PL0.h"
#include "XEdit.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CXEdit

CXEdit::CXEdit()
{
}

CXEdit::~CXEdit()
{
}


BEGIN_MESSAGE_MAP(CXEdit, CEdit)
	//{{AFX_MSG_MAP(CXEdit)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CXEdit message handlers

void CXEdit::AppendText(char *pText)
{
	int nLen=GetWindowTextLength();
	if (nLen>29000) return;
	SetSel(nLen,nLen);
	ReplaceSel(pText);
}

⌨️ 快捷键说明

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