TTMSFNCMemoCodeCompletion Class
A collection of code-completion suggestion items supplied to the editor's suggest widget in response to the
OnSuggestionevent.
API unit family: TMSFNCMemo
Inherits from: TTMSFNCOwnedCollection
Syntax
TTMSFNCMemoCodeCompletion = class(TTMSFNCOwnedCollection)
Properties
| Name | Description |
|---|---|
| Items | Returns the completion item at the given zero-based index. |
Methods
| Name | Description |
|---|---|
| Add | Appends a new empty completion item to the collection. |
| Insert | Inserts a new empty completion item at the specified position. |
| LoadFromFile | Loads completion items from a JSON file, replacing any existing items in the collection. |
| LoadFromStream | Loads completion items from a JSON stream, replacing any existing items in the collection. |
| LoadFromStrings | Loads completion items from a strings object containing JSON lines, replacing any existing items. |