/// <summary> /// Adds a selection highlighter to the specified TextView (removing any previous highlighting associated with this selection). /// </summary> public void AddHighlighter(TextView textView) { RemoveHighlighter(); _SelectionHighlighter = new BlockHighlighter() { DrawSelectionBars = true, FillRange = true, OutlineRange = true, SelectionBarStyle = SelectionBarStyle.Thin }; _SelectionHighlighter.Select(textView, HighlightRange, CodeRushPlaceholder.MultiSelect.HighlightColor, 0.1, 0.3); }