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

📄 rm_editorreplacetext.hpp

📁 这是一个功能强大
💻 HPP
字号:
// CodeGear C++Builder
// Copyright (c) 1995, 2007 by CodeGear
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Rm_editorreplacetext.pas' rev: 11.00

#ifndef Rm_editorreplacetextHPP
#define Rm_editorreplacetextHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Extctrls.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Rm_editorreplacetext
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRMTextReplaceDialog;
class PASCALIMPLEMENTATION TRMTextReplaceDialog : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Stdctrls::TLabel* Label1;
	Stdctrls::TComboBox* cbSearchText;
	Extctrls::TRadioGroup* rgSearchDirection;
	Stdctrls::TGroupBox* gbSearchOptions;
	Stdctrls::TCheckBox* cbSearchCaseSensitive;
	Stdctrls::TCheckBox* cbSearchWholeWords;
	Stdctrls::TCheckBox* cbSearchFromCursor;
	Stdctrls::TCheckBox* cbSearchSelectedOnly;
	Stdctrls::TButton* btnOK;
	Stdctrls::TButton* btnCancel;
	Stdctrls::TCheckBox* cbRegularExpression;
	Stdctrls::TComboBox* cbReplaceText;
	Stdctrls::TLabel* Label3;
	void __fastcall FormCloseQuery(System::TObject* Sender, bool &CanClose);
	
private:
	bool __fastcall GetSearchBackwards(void);
	bool __fastcall GetSearchCaseSensitive(void);
	bool __fastcall GetSearchFromCursor(void);
	bool __fastcall GetSearchInSelection(void);
	AnsiString __fastcall GetSearchText();
	AnsiString __fastcall GetSearchTextHistory();
	bool __fastcall GetSearchWholeWords(void);
	void __fastcall SetSearchBackwards(bool Value);
	void __fastcall SetSearchCaseSensitive(bool Value);
	void __fastcall SetSearchFromCursor(bool Value);
	void __fastcall SetSearchInSelection(bool Value);
	void __fastcall SetSearchText(AnsiString Value);
	void __fastcall SetSearchTextHistory(AnsiString Value);
	void __fastcall SetSearchWholeWords(bool Value);
	void __fastcall SetSearchRegularExpression(const bool Value);
	bool __fastcall GetSearchRegularExpression(void);
	AnsiString __fastcall GetReplaceText();
	AnsiString __fastcall GetReplaceTextHistory();
	void __fastcall SetReplaceText(AnsiString Value);
	void __fastcall SetReplaceTextHistory(AnsiString Value);
	
public:
	__property bool SearchBackwards = {read=GetSearchBackwards, write=SetSearchBackwards, nodefault};
	__property bool SearchCaseSensitive = {read=GetSearchCaseSensitive, write=SetSearchCaseSensitive, nodefault};
	__property bool SearchFromCursor = {read=GetSearchFromCursor, write=SetSearchFromCursor, nodefault};
	__property bool SearchInSelectionOnly = {read=GetSearchInSelection, write=SetSearchInSelection, nodefault};
	__property AnsiString SearchText = {read=GetSearchText, write=SetSearchText};
	__property AnsiString SearchTextHistory = {read=GetSearchTextHistory, write=SetSearchTextHistory};
	__property bool SearchWholeWords = {read=GetSearchWholeWords, write=SetSearchWholeWords, nodefault};
	__property bool SearchRegularExpression = {read=GetSearchRegularExpression, write=SetSearchRegularExpression, nodefault};
	__property AnsiString ReplaceText = {read=GetReplaceText, write=SetReplaceText};
	__property AnsiString ReplaceTextHistory = {read=GetReplaceTextHistory, write=SetReplaceTextHistory};
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TRMTextReplaceDialog(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TRMTextReplaceDialog(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TRMTextReplaceDialog(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TRMTextReplaceDialog(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Rm_editorreplacetext */
using namespace Rm_editorreplacetext;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Rm_editorreplacetext

⌨️ 快捷键说明

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