Package avail. environment
Types
An abstraction for a color that's dependent on light versus dark mode.
AvailWorkbench is a simple user interface for the Avail builder.
Information about the window layout.
A helper class for building the menu bar.
A helper class for building menus.
Functions
Create a JTextPane, initializing it and its StyledDocument in a way that makes it suitable for displaying or editing Avail code. By default, make it editable.
Either places the given component inside a JScrollPane or answers the JScrollPane that it's already inside.
Either places the receiver JTextArea inside a JScrollPane with line numbers presented as row headers, or answers the JScrollPane that it's already inside.
Scroll the given JTextPane to ensure the given text range is visible, and preferably not jammed against the top or bottom border.