Skip to main content

GutterStyle

Defines gutter appearance (line numbers) for the code editor.

Properties

Properties

background_colorclass-attributeinstance-attribute

background_color: Optional[ColorValue] = None

Background color for the gutter.

marginclass-attributeinstance-attribute

margin: Optional[Number] = None

Margin outside the gutter.

show_errorsclass-attributeinstance-attribute

show_errors: bool = True

Whether to show errors in the gutter.

show_folding_handlesclass-attributeinstance-attribute

show_folding_handles: bool = True

Whether to show folding handles in the gutter.

show_line_numbersclass-attributeinstance-attribute

show_line_numbers: bool = True

Whether to show line numbers in the gutter.

text_styleclass-attributeinstance-attribute

text_style: Optional[TextStyle] = None

Text style for line numbers.

widthclass-attributeinstance-attribute

width: Optional[Number] = None

Fixed width of the gutter.