Skip to main content
A newer version of this page is available. .
All docs
V22.2

TextEditCustomHighlightTextEventArgs.HighlightRanges Method

Name Parameters Description
HighlightRanges(String, Action<TextEdit.Block>, CompareOptions) text, settings, options Highlights or custom paints all text blocks that have the specified content.
HighlightRanges(String, Color, Color, CompareOptions) text, foreColor, backColor, options Highlights all text blocks that have specified content using custom foreground and background colors.
HighlightRanges(String, Color, CompareOptions) text, foreColor, options Highlights all text blocks that have the specified content using a custom foreground color.