Sign in Join
FPDoc Onlineexperiment

TCustomMemoStrings class

In unit TextStrings

Implements a string list used in Memo controls.

Declaration

pascal
TCustomMemoStrings = class(TStrings)

Inheritance

  1. TCustomMemoStrings
  2. TStrings
  3. TPersistent
  4. TObject

Descends from it: TTextStrings

Description

TCustomMemoStrings is a TStrings descendant which works around the behavior of TMemo.Lines. In TMemo, Lines contains the text with wordwrap line endings. TCustomMemoStrings stores the text in an LFM without those wordwrap line endings.

See also

Methods

DoReadDataprotectedReads and stores the values used in the Strings property.
DoWriteDataprotectedWrites the values in the Strings property.
DefinePropertiesprotectedDefines the Strings property and the read and write procedures for its data.

Inherited

From TStrings (95)

Add AddCommaText AddDelimitedtext AddObject AddPair AddStrings AddText AlwaysQuote Append Assign BeginUpdate Capacity CheckSpecialChars Clear CommaText CompareStrings Contains ContainsName ContainsObject Count Create DefaultEncoding Delete DelimitedText Delimiter Destroy DoCompareText Encoding EndUpdate Equals Error Exchange ExtractName Fill Filter ForEach Get GetCapacity GetCount GetDelimitedText GetEnumerator GetNameValue GetNextLine GetNextLinebreak GetObject GetText GetTextStr GetValueFromIndex IndexOf IndexOfName IndexOfObject Insert InsertObject LastIndexOf LineBreak LoadFromFile LoadFromStream Map MissingNameValueSeparatorAction Move Names NameValueSeparator Objects Options Pop Put PutObject QuoteChar Reduce Reverse SaveToFile SaveToStream SetCapacity SetDelimitedText SetStrings SetText SetTextStr SetUpdateState SetValueFromIndex Shift SkipLastLineBreak Slice StrictDelimiter Strings StringsAdapter Text TextLineBreakStyle ToObjectArray ToStringArray TrailingLineBreak UpdateCount UseLocale ValueFromIndex Values WriteBOM

From TPersistent (6)

AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner

From TObject (39)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.