Links
EControl Syntax Editor SDK
TecMemoStateStorage.Assign Method

Copies runtime state from other state storage of from the editor.

procedure Assign(Source: TPersistent); override;

To save runtime state use Assign method of the TecMemoStateStorage

To restore runtime state use Assign method of the TCustomSyntaxMemo.

// saving runtime state
ecMemoStateStorage.Assign(SyntaxMemo1);
...
// restoring runtime state
SyntaxMemo1.Assign(ecMemoStateStorage)
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!