?? synhighlighterdfm.hpp
字號:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'SynHighlighterDfm.pas' rev: 6.00
#ifndef SynHighlighterDfmHPP
#define SynHighlighterDfmHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Classes.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <SynEditHighlighter.hpp> // Pascal unit
#include <SynEditTypes.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Synhighlighterdfm
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TtkTokenKind { tkComment, tkIdentifier, tkKey, tkNull, tkNumber, tkSpace, tkString, tkSymbol, tkUnknown };
#pragma option pop
#pragma option push -b-
enum TRangeState { rsANil, rsComment, rsUnKnown };
#pragma option pop
typedef void __fastcall (__closure *TProcTableProc)(void);
class DELPHICLASS TSynDfmSyn;
class PASCALIMPLEMENTATION TSynDfmSyn : public Synedithighlighter::TSynCustomHighlighter
{
typedef Synedithighlighter::TSynCustomHighlighter inherited;
private:
TRangeState fRange;
char *fLine;
int fLineNumber;
TProcTableProc fProcTable[256];
int Run;
int fTokenPos;
TtkTokenKind FTokenID;
Synedithighlighter::TSynHighlighterAttributes* fCommentAttri;
Synedithighlighter::TSynHighlighterAttributes* fIdentifierAttri;
Synedithighlighter::TSynHighlighterAttributes* fKeyAttri;
Synedithighlighter::TSynHighlighterAttributes* fNumberAttri;
Synedithighlighter::TSynHighlighterAttributes* fSpaceAttri;
Synedithighlighter::TSynHighlighterAttributes* fStringAttri;
Synedithighlighter::TSynHighlighterAttributes* fSymbolAttri;
void __fastcall AltProc(void);
void __fastcall AsciiCharProc(void);
void __fastcall BraceCloseProc(void);
void __fastcall BraceOpenProc(void);
void __fastcall CommentProc(void);
void __fastcall CRProc(void);
void __fastcall EndProc(void);
void __fastcall IntegerProc(void);
void __fastcall LFProc(void);
void __fastcall NullProc(void);
void __fastcall NumberProc(void);
void __fastcall ObjectProc(void);
void __fastcall InheritedProc(void);
void __fastcall SpaceProc(void);
void __fastcall StringProc(void);
void __fastcall SymbolProc(void);
void __fastcall UnknownProc(void);
void __fastcall MakeMethodTables(void);
protected:
virtual Synedittypes::TSynIdentChars __fastcall GetIdentChars();
virtual AnsiString __fastcall GetSampleSource();
virtual bool __fastcall IsFilterStored(void);
public:
/* virtual class method */ virtual AnsiString __fastcall GetLanguageName(TMetaClass* vmt);
__fastcall virtual TSynDfmSyn(Classes::TComponent* AOwner);
virtual Synedithighlighter::TSynHighlighterAttributes* __fastcall GetDefaultAttribute(int Index);
virtual bool __fastcall GetEol(void);
virtual void * __fastcall GetRange(void);
TtkTokenKind __fastcall GetTokenID(void);
virtual void __fastcall SetLine(AnsiString NewValue, int LineNumber);
virtual AnsiString __fastcall GetToken();
virtual Synedithighlighter::TSynHighlighterAttributes* __fastcall GetTokenAttribute(void);
virtual int __fastcall GetTokenKind(void);
virtual int __fastcall GetTokenPos(void);
virtual void __fastcall Next(void);
virtual void __fastcall SetRange(void * Value);
virtual void __fastcall ResetRange(void);
__property IdentChars ;
__published:
__property Synedithighlighter::TSynHighlighterAttributes* CommentAttri = {read=fCommentAttri, write=fCommentAttri};
__property Synedithighlighter::TSynHighlighterAttributes* IdentifierAttri = {read=fIdentifierAttri, write=fIdentifierAttri};
__property Synedithighlighter::TSynHighlighterAttributes* KeyAttri = {read=fKeyAttri, write=fKeyAttri};
__property Synedithighlighter::TSynHighlighterAttributes* NumberAttri = {read=fNumberAttri, write=fNumberAttri};
__property Synedithighlighter::TSynHighlighterAttributes* SpaceAttri = {read=fSpaceAttri, write=fSpaceAttri};
__property Synedithighlighter::TSynHighlighterAttributes* StringAttri = {read=fStringAttri, write=fStringAttri};
__property Synedithighlighter::TSynHighlighterAttributes* SymbolAttri = {read=fSymbolAttri, write=fSymbolAttri};
public:
#pragma option push -w-inl
/* TSynCustomHighlighter.Destroy */ inline __fastcall virtual ~TSynDfmSyn(void) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE int __fastcall LoadDFMFile2Strings(const AnsiString AFile, Classes::TStrings* AStrings, bool &WasText);
extern PACKAGE int __fastcall SaveStrings2DFMFile(Classes::TStrings* AStrings, const AnsiString AFile);
} /* namespace Synhighlighterdfm */
using namespace Synhighlighterdfm;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // SynHighlighterDfm
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -