NO HAY CÓDIGO FUENTE git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.TRichView@1 b34d35ef-135b-4489-b9d1-9916e9c25524
87 lines
2.6 KiB
C++
87 lines
2.6 KiB
C++
// Borland C++ Builder
|
|
// Copyright (c) 1995, 2005 by Borland Software Corporation
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'Rvthread.pas' rev: 10.00
|
|
|
|
#ifndef RvthreadHPP
|
|
#define RvthreadHPP
|
|
|
|
#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 <Classes.hpp> // Pascal unit
|
|
#include <Rvscroll.hpp> // Pascal unit
|
|
#include <Crvdata.hpp> // Pascal unit
|
|
#include <Rvtypes.hpp> // Pascal unit
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Rvthread
|
|
{
|
|
//-- type declarations -------------------------------------------------------
|
|
class DELPHICLASS TRVWordEnumThread;
|
|
class PASCALIMPLEMENTATION TRVWordEnumThread : public Classes::TThread
|
|
{
|
|
typedef Classes::TThread inherited;
|
|
|
|
private:
|
|
int NextItemNo;
|
|
int NextOffs;
|
|
int StopWorking;
|
|
AnsiString CurText;
|
|
char *CurTextPtr;
|
|
char *CurTextStartPtr;
|
|
Rvscroll::TRVScroller* FRichView;
|
|
int CurItemNo;
|
|
int WordOffs;
|
|
int WordLen;
|
|
bool CurItemCheckStarted;
|
|
Crvdata::TCustomRVData* NextRVData;
|
|
Crvdata::TCustomRVData* CurRVData;
|
|
bool FForceSetBack;
|
|
bool Delaying;
|
|
bool EditedWhileDelayed;
|
|
void __fastcall AddMisspelling(void);
|
|
void __fastcall SyncProc(void);
|
|
AnsiString __fastcall GetNextWord();
|
|
void __fastcall GetMisspellingDrawItems(int &DItemNo1, int &DItemNo2);
|
|
void __fastcall SetBack(void);
|
|
|
|
protected:
|
|
virtual void __fastcall Execute(void);
|
|
virtual void __fastcall DoTerminate(void);
|
|
|
|
public:
|
|
bool HasModifiedWord;
|
|
bool CheckUnchecked;
|
|
__fastcall TRVWordEnumThread(void);
|
|
void __fastcall Reset(Rvscroll::TRVScroller* RichView);
|
|
void __fastcall LaterSetBackTo(Crvdata::TCustomRVData* RVData, int ItemNo, int Offs);
|
|
void __fastcall SetBackToCurItem(Crvdata::TCustomRVData* RVData, int ItemNo);
|
|
bool __fastcall IsChecked(Crvdata::TCustomRVData* RVData, int ItemNo);
|
|
void __fastcall RemoveRVData(Crvdata::TCustomRVData* RVData);
|
|
__fastcall virtual ~TRVWordEnumThread(void);
|
|
void __fastcall Stop(bool ResetNexts);
|
|
void __fastcall ContinueCheck(void);
|
|
void __fastcall Finish(void);
|
|
};
|
|
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
extern PACKAGE bool RichViewApostropheInWord;
|
|
|
|
} /* namespace Rvthread */
|
|
using namespace Rvthread;
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // Rvthread
|