EControl Syntax Editor SDK
TCustomHighlighter.ValidateRange Method

Analyzes part of a text for highlighting.

function ValidateRange(const AText: ecString; AStart: integer; AEnd: integer): integer; virtual;

ValidateRange analyzes text from AStart position to AEnd position and adds ranges for highlighting. It returns position of the last analyzed character, that is next position for analyzing. 

ValidateRange is a protected virtual method.

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