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

📄 search.h

📁 检测语法的Edit类
💻 H
字号:
#if !defined(AFX_SEARCH_H__08C82341_4635_11D1_B99D_00A0C9763A0A__INCLUDED_)
#define AFX_SEARCH_H__08C82341_4635_11D1_B99D_00A0C9763A0A__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// Search.h : header file
//

#include "RegExp.h"
#include "ColorString.h"
#include "ColorEditDoc.h"
#include "ColorEditView.h"

/////////////////////////////////////////////////////////////////////////////
// CSearch dialog

class CSearch : public CDialog
{
// Construction
public:
	CSearch(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSearch)
	enum { IDD = IDD_SEARCH };
	CEdit	m_search_ctrl;
	CButton	m_replaceBtn;
	CButton	m_findBtn;
	CString	m_replace_string;
	CString	m_search_string;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSearch)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
public:
	CRegExp				m_r;
	CColorString*		m_pString;
	CColorEditView*		m_view;

	// Generated message map functions
	//{{AFX_MSG(CSearch)
	afx_msg void OnFindNext();
	afx_msg void OnReplace();
	afx_msg void OnReplaceAll();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SEARCH_H__08C82341_4635_11D1_B99D_00A0C9763A0A__INCLUDED_)

⌨️ 快捷键说明

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