EControl Syntax Editor SDK
TCustomSyntaxMemo.SelAttributes Property

Provides interface for custom text formatting.

property SelAttributes: TecTextAttributes;

Custom formatting is possible only if syntax memo is linked to TecEmbeddedObjects text storage, i.e. TCustomSyntaxMemo.TextStorage references component of TecEmbeddedObjects class. 


Custom formatting allows formatting of the text independently on syntax highlighting. Custom formatting is applied over other types of formatting (syntax highlighting, user ranges, ...). 


Using TecTextAttributes you may get and set any style attribute of selected text.

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