Links
EControl Syntax Editor SDK
TSyntAnalyzer.AddClient Method

Adds new client.

function AddClient(const Client: IecSyntClient; SrcProc: TGetTextSource): TClientSyntAnalyzer;

Internal function that is used for connecting to TSyntAnalyzer. Client is an interface implemented in connected client (TCustomSyntaxMemo, TSyntTextSource), SrcProc is a function pointer that provides access to the Text. 

 

AddClient returns TClientSyntAnalyzer object, that is stored in the client. TClientSyntAnalyzer object immediately performs syntactical analysis and stores results of the analysis. 

 

To disconnect from TSyntAnalyzer client must destroy TClientSyntAnalyzer object.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!