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

TextEditCustomHighlightTextEventArgs.HighlightRange Method

Name Parameters Description
HighlightRange(Int32, Int32, Action<TextEdit.Block>) startIndex, length, settings Highlights or custom paints a text block at a specified position.
HighlightRange(Int32, Int32, Color, Color) startIndex, length, foreColor, backColor Highlights a text block at a specific position using custom foreground and background colors.
HighlightRange(Int32, Int32, Color) startIndex, length, foreColor Highlights a text block at a specified position using a custom foreground color.