Path 1: 7 calls (1.0)

Style (7)

(1, 1) (2) (1, 9) (1) (1, 14) (1) (9, 8) (1) (6, 11) (1) (10, 19) (1)

(1, 2) (1) (1, 19) (1) (3, 22) (1) (9, 16) (1) (6, 24) (1) (10, 300) (1) (30, 2) (1)

1def stylize_range(
2        self, style: StyleType, start: SyntaxPosition, end: SyntaxPosition
3    ) -> None:
4        """
5        Adds a custom style on a part of the code, that will be applied to the syntax display when it's rendered.
6        Line numbers are 1-based, while column indexes are 0-based.
7
8        Args:
9            style (StyleType): The style to apply.
10            start (Tuple[int, int]): The start of the range, in the form `[line number, column index]`.
11            end (Tuple[int, int]): The end of the range, in the form `[line number, column index]`.
12        """
13        self._stylized_ranges.append(_SyntaxHighlightRange(style, start, end))