📄 xedit.cpp
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -