Package-level declarations

Types

Link copied to clipboard
class BitmapFont(val identifier: FontIdentifier, val texture: Texture, val glyphDataMap: Map<Char, BitmapGlyphData?>, val height: Float, val ascent: Float, val descent: Float, val top: Float, val bottom: Float, val italicInverseSlope: Float) : Font
Link copied to clipboard
Link copied to clipboard
data class BitmapGlyphData(val left: Float, val baseline: Float, val width: Float, val advance: Float)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Performs find/replace on a StyledTextArea.

Link copied to clipboard
Link copied to clipboard
class FindBar(val findAndReplace: FindAndReplace) : WrappedNode<ToolBar>
Link copied to clipboard
interface Font
Link copied to clipboard
object FontCache
Link copied to clipboard
data class FontIdentifier(val family: String, val size: Float, val style: FontStyle = FontStyle.PLAIN)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class GotoDialog(val textArea: TextAreaBase<*>) : Dialog
Link copied to clipboard
interface Highlight

Highlights a piece of Text within a StyledTextDocument.

Link copied to clipboard
open class HighlightRange(val from: TextPosition, val to: TextPosition, val highlight: Highlight, val owner: Any? = null)
Link copied to clipboard
interface Indentation

Determines how TextArea and StyledTextArea should display leading tab and space characters, and the behaviour when the tab key is pressed.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class PairedHighlightRange(start: TextPosition, end: TextPosition, highlight: Highlight, owner: Any? = null, other: PairedHighlightRange?) : HighlightRange

A HighlightRange, which is part of a matched pair, for example, an opening and closing bracket.

Link copied to clipboard
class ReplaceBar(val findAndReplace: FindAndReplace) : WrappedNode<ToolBar>
Link copied to clipboard
Link copied to clipboard
interface SkipWord

When you hold Ctrl and press the Left or Right arrow keys, it jumps by 1 word. However, what is considered a word isn't clear, and can depend on the context.

Link copied to clipboard
class SkipWordByCategory(val preSkipWhitespace: Boolean = true, val categories: List<(Char) -> Boolean>) : SkipWord

Each character is assigned a category. We skip over character which have the same category as the character at the start point.

Link copied to clipboard
class SpacesToTabsConverter(val columns: Int = 4) : Converter<String, String>
Link copied to clipboard
interface StringChange : Change

A Change for the HistoryDocuments (used by TextFields).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class StyledTextDocument(initialText: String) : TextDocument
Link copied to clipboard
interface TextChange : Change

A Change for TextDocuments (used by TextAreas and StyledTextAreas).

Link copied to clipboard
open class TextDocument(initialText: String) : SealedTextDocument

The HistoryDocument used by TextArea. The document is stored as a List of String, where each String must NOT include new line character.

Link copied to clipboard
Link copied to clipboard
open class ThemedHighlight(val style: String) : Highlight

Applies a Theme rule (using Node.styles) to the highlighted Text.