EControl Syntax Editor SDK
TSyntaxMemo.SyntaxAnalyzer Property

Specifies TSyntAnalyzer object that is used for syntax highlighting.

property SyntaxAnalyzer: TSyntAnalyzer;

Set SyntaxAnalyzer to link syntax memo to the particular syntactical analyzer. When you change SyntaxAnalyzer, syntax memo will be invalidated and all collapsed ranges will be destroyed. 

Do not read SyntaxAnalyzer to get real analyzer of the syntax memo. Read SyntObj.Owner to get active analyzer of the editor.

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