SnippetChunk

open class SnippetChunk(val gtksourceSnippetChunkPointer: <Error class: unknown class><<Error class: unknown class>>)

A chunk of text within the source snippet.

The GtkSourceSnippetChunk represents a single chunk of text that may or may not be an edit point within the snippet. Chunks that are an edit point (also called a tab stop) have the property@SnippetChunk:focus-position property set.

Skipped during bindings generation

  • method spec: Property TypeInfo of getter and setter do not match

Constructors

Link copied to clipboard
constructor()

Create a new GtkSourceSnippetChunk that can be added to a class@Snippet.

constructor(gtksourceSnippetChunkPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open var focusPosition: <Error class: unknown class>
Link copied to clipboard
val gtksourceSnippetChunkPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var text: String
Link copied to clipboard
open var textSet: Boolean
Link copied to clipboard

Functions

Link copied to clipboard
open fun copy(): SnippetChunk

Copies the source snippet.

Link copied to clipboard
open fun getSpec(): String?

Gets the specification for the chunk.

Link copied to clipboard
open fun setSpec(spec: String)

Sets the specification for the chunk.