Class TTextStrings
Unit
Declaration
type TTextStrings = class(TStrings)
Description
user data
Hierarchy
- TStrings
- TTextStrings
Overview
Fields
FArraysValid: boolean; |
|
FLineCount: LongInt; |
|
FLineCapacity: LongInt; |
|
FLineRanges: ˆTTextLineRange; |
|
FText: UTF8string; |
|
FUpdateCount: LongInt; |
|
FChangedWhileUpdate: boolean; |
Methods
function GetTextStr: UTF8string; override; |
|
procedure SetTextStr(const AValue: UTF8string); override; |
|
procedure BuildArrays; virtual; |
|
function GetCount: LongInt; override; |
|
procedure Changed; virtual; |
|
procedure Changing; virtual; |
|
function Get(Index: LongInt): UTF8string; override; |
|
procedure ClearArrays; |
|
function GetObject(Index: LongInt): TObject; override; |
|
procedure Put(Index: LongInt; const S: UTF8string); override; |
|
procedure PutObject(Index: LongInt; AnObject: TObject); override; |
|
function GetLineLen(Index: LongInt; IncludeNewLineChars: boolean): LongInt; inline; |
|
function GetLineEnd(Index: LongInt; IncludeNewLineChars: boolean): LongInt; |
|
function HasObjects: boolean; |
|
function CountLineEndings(const s: UTF8string): LongInt; |
|
constructor Create; |
|
destructor Destroy; override; |
|
procedure Clear; override; |
|
procedure SetText(TheText: PChar); override; |
|
procedure Insert(Index: LongInt; const S: UTF8string); override; |
|
procedure Delete(Index: LongInt); override; |
|
procedure Exchange(Index1, Index2: LongInt); override; |
|
procedure Move(CurIndex, NewIndex: LongInt); override; |
|
procedure MakeTextBufferUnique; |
|
procedure BeginUpdate; |
|
procedure EndUpdate; |
|
function GetText: PChar; override; |
|
function IndexOf(const S: UTF8string): LongInt; override; |
|
function Add(const S: UTF8string): LongInt; override; |
|
function AddObject(const S: UTF8string; AObject: TObject): LongInt; override; |
|
procedure AddStrings(TheStrings: TStrings); override; |
Properties
property Text: UTF8string read FText write SetTextStr; |
|
property OnChange: TNotifyEvent read FOnChange write FOnChange; |
|
property OnChanging: TNotifyEvent read FOnChanging write FOnChanging; |
Description
Fields
FArraysValid: boolean; |
|
FLineCount: LongInt; |
|
FLineCapacity: LongInt; |
|
FLineRanges: ˆTTextLineRange; |
|
FText: UTF8string; |
|
array of TTextLineRange |
FUpdateCount: LongInt; |
|
FChangedWhileUpdate: boolean; |
|
Methods
function GetTextStr: UTF8string; override; |
|
procedure SetTextStr(const AValue: UTF8string); override; |
|
procedure BuildArrays; virtual; |
|
function GetCount: LongInt; override; |
|
procedure Changed; virtual; |
|
procedure Changing; virtual; |
|
function Get(Index: LongInt): UTF8string; override; |
|
procedure ClearArrays; |
|
function GetObject(Index: LongInt): TObject; override; |
|
procedure Put(Index: LongInt; const S: UTF8string); override; |
|
procedure PutObject(Index: LongInt; AnObject: TObject); override; |
|
function GetLineLen(Index: LongInt; IncludeNewLineChars: boolean): LongInt; inline; |
|
function GetLineEnd(Index: LongInt; IncludeNewLineChars: boolean): LongInt; |
|
function HasObjects: boolean; |
|
function CountLineEndings(const s: UTF8string): LongInt; |
|
constructor Create; |
|
destructor Destroy; override; |
|
procedure Clear; override; |
|
procedure SetText(TheText: PChar); override; |
|
procedure Insert(Index: LongInt; const S: UTF8string); override; |
|
procedure Delete(Index: LongInt); override; |
|
procedure Exchange(Index1, Index2: LongInt); override; |
|
procedure Move(CurIndex, NewIndex: LongInt); override; |
|
procedure MakeTextBufferUnique; |
|
procedure BeginUpdate; |
|
procedure EndUpdate; |
|
function GetText: PChar; override; |
|
function IndexOf(const S: UTF8string): LongInt; override; |
|
function Add(const S: UTF8string): LongInt; override; |
|
function AddObject(const S: UTF8string; AObject: TObject): LongInt; override; |
|
procedure AddStrings(TheStrings: TStrings); override; |
|
Properties
property Text: UTF8string read FText write SetTextStr; |
|
property OnChange: TNotifyEvent read FOnChange write FOnChange; |
|
property OnChanging: TNotifyEvent read FOnChanging write FOnChanging; |
|
Generated by PasDoc 0.14.0.