TextBuffer

class TextBuffer(textBufferPointer: CPointer<GtkTextBuffer>) : KGObject

kotlinx-gtk

19 / 03 / 2021

See also

Constructors

TextBuffer
Link copied to clipboard
fun TextBuffer(textTagTable: TextTagTable)
TextBuffer
Link copied to clipboard
fun TextBuffer(textBufferPointer: CPointer<GtkTextBuffer>)

Types

Companion
Link copied to clipboard
object Companion

Functions

addMark
Link copied to clipboard
fun addMark(mark: TextMark, where: TextIter)
addOnApplyTagCallback
Link copied to clipboard
fun addOnApplyTagCallback(action: TextBufferApplyTagFunction): SignalManager
addOnBeginUserActionCallback
Link copied to clipboard
fun addOnBeginUserActionCallback(action: () -> Unit): SignalManager
addOnChangedCallback
Link copied to clipboard
fun addOnChangedCallback(action: () -> Unit): SignalManager
addOnDeleteRangeCallback
Link copied to clipboard
addOnEndUserActionCallback
Link copied to clipboard
fun addOnEndUserActionCallback(action: () -> Unit): SignalManager
addOnInsertPaintableCallback
Link copied to clipboard
addOnInsertTextCallback
Link copied to clipboard
fun addOnInsertTextCallback(action: TextBufferInsertTextFunction): SignalManager
addOnMarkDeletedCallback
Link copied to clipboard
addOnMarkSetCallback
Link copied to clipboard
fun addOnMarkSetCallback(action: TextBufferMarkSetFunction): SignalManager
addOnModifiedChangedCallback
Link copied to clipboard
fun addOnModifiedChangedCallback(action: () -> Unit): SignalManager
addOnPasteDoneCallback
Link copied to clipboard
fun addOnPasteDoneCallback(action: TextBufferPasteDoneFunction): SignalManager
addOnRedoCallback
Link copied to clipboard
fun addOnRedoCallback(action: () -> Unit): SignalManager
addOnRemoveTagCallback
Link copied to clipboard
fun addOnRemoveTagCallback(action: TextBufferRemoveTagFunction): SignalManager
addOnUndoCallback
Link copied to clipboard
fun addOnUndoCallback(action: () -> Unit): SignalManager
addSelectionClipboard
Link copied to clipboard
fun addSelectionClipboard(clipboard: Clipboard)
addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
applyTag
Link copied to clipboard
fun applyTag(tag: TextTag, start: TextIter, end: TextIter)
applyTagByName
Link copied to clipboard
fun applyTagByName(name: String, start: TextIter, end: TextIter)
backspace
Link copied to clipboard
fun backspace(iter: TextIter, interactive: Boolean, defaultEditable: Boolean): Boolean
beginIrreversibleAction
Link copied to clipboard
fun beginIrreversibleAction()
beginUserAction
Link copied to clipboard
fun beginUserAction()
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
copyClipboard
Link copied to clipboard
fun copyClipboard(clipboard: Clipboard)
createChildAnchor
Link copied to clipboard
fun createChildAnchor(iter: TextIter): TextChildAnchor
createMark
Link copied to clipboard
fun createMark(markName: String?, where: TextIter, leftGravity: Boolean): TextMark
createTag
Link copied to clipboard
fun createTag(tagName: String): TextTag
cutClipboard
Link copied to clipboard
fun cutClipboard(clipboard: Clipboard, defaultEditable: Boolean)
delete
Link copied to clipboard
fun delete(start: TextIter, end: TextIter)
deleteInteractive
Link copied to clipboard
fun deleteInteractive(startIter: TextIter, endIter: TextIter, defaultEditable: Boolean): Boolean
deleteMark
Link copied to clipboard
fun deleteMark(mark: TextMark)
deleteMarkByName
Link copied to clipboard
fun deleteMarkByName(name: String)
deleteSelection
Link copied to clipboard
fun deleteSelection(interactive: Boolean, defaultEditable: Boolean)
endIrreversibleAction
Link copied to clipboard
fun endIrreversibleAction()
endUserAction
Link copied to clipboard
fun endUserAction()
getIterAtChildAnchor
Link copied to clipboard
fun getIterAtChildAnchor(anchor: TextChildAnchor): TextIter
getIterAtLine
Link copied to clipboard
fun getIterAtLine(lineNumber: Int): TextIter
getIterAtLineIndex
Link copied to clipboard
fun getIterAtLineIndex(lineNumber: Int, byteIndex: Int): TextIter
getIterAtLineOffset
Link copied to clipboard
fun getIterAtLineOffset(lineNumber: Int, charOffset: Int): TextIter
getIterAtMark
Link copied to clipboard
fun getIterAtMark(mark: TextMark): TextIter
getIterAtOffset
Link copied to clipboard
fun getIterAtOffset(charOffset: Int): TextIter
getMark
Link copied to clipboard
fun getMark(name: String): TextMark?
getSlice
Link copied to clipboard
fun getSlice(start: TextIter, end: TextIter, includeHiddenChars: Boolean): String
getString
Link copied to clipboard
fun getString(propertyName: String): String
getText
Link copied to clipboard
fun getText(start: TextIter, end: TextIter, includeHiddenChars: Boolean): String
insert
Link copied to clipboard
fun insert(iter: TextIter, text: String)
insertAtCursor
Link copied to clipboard
fun insertAtCursor(text: String)
insertChildAnchor
Link copied to clipboard
fun insertChildAnchor(iter: TextIter, anchor: TextChildAnchor)
insertInteractive
Link copied to clipboard
fun insertInteractive(iter: TextIter, text: String, defaultEditable: Boolean): Boolean
insertInteractiveAtCursor
Link copied to clipboard
fun insertInteractiveAtCursor(text: String, defaultEditable: Boolean): Boolean
insertMarkup
Link copied to clipboard
fun insertMarkup(iter: TextIter, markup: String)
insertPaintable
Link copied to clipboard
fun insertPaintable(iter: TextIter, paintable: Paintable)
insertRange
Link copied to clipboard
fun insertRange(iter: TextIter, startIter: TextIter, endIter: TextIter)
insertRangeInteractive
Link copied to clipboard
fun insertRangeInteractive(iter: TextIter, start: TextIter, end: TextIter, defaultEditable: Boolean): Boolean
moveMark
Link copied to clipboard
fun moveMark(mark: TextMark, where: TextIter)
moveMarkByName
Link copied to clipboard
fun moveMarkByName(name: String, where: TextIter)
pasteClipboard
Link copied to clipboard
fun pasteClipboard(clipboard: Clipboard, overrideLocation: TextIter, defaultEditable: Boolean)
placeCursor
Link copied to clipboard
fun placeCursor(where: TextIter)
redo
Link copied to clipboard
fun redo()
ref
Link copied to clipboard
open fun ref(): KGObject
removeAllTags
Link copied to clipboard
fun removeAllTags(start: TextIter, end: TextIter)
removeSelectionClipboard
Link copied to clipboard
fun removeSelectionClipboard(clipboard: Clipboard)
removeTag
Link copied to clipboard
fun removeTag(tag: TextTag, start: TextIter, end: TextIter)
removeTagByName
Link copied to clipboard
fun removeTagByName(name: String, start: TextIter, end: TextIter)
selectRange
Link copied to clipboard
fun selectRange(ins: TextIter, bound: TextIter)
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
setText
Link copied to clipboard
fun setText(text: String)
undo
Link copied to clipboard
fun undo()
unref
Link copied to clipboard
open override fun unref()

Properties

bounds
Link copied to clipboard
val bounds: Pair<TextIter, TextIter>
canRedo
Link copied to clipboard
val canRedo: Boolean
canUndo
Link copied to clipboard
val canUndo: Boolean
charCount
Link copied to clipboard
val charCount: Int
enableUndo
Link copied to clipboard
var enableUndo: Boolean
endIter
Link copied to clipboard
val endIter: TextIter
gClass
Link copied to clipboard
open val gClass: TypeClass
hasSelection
Link copied to clipboard
val hasSelection: Boolean
insert
Link copied to clipboard
val insert: TextMark
lineCount
Link copied to clipboard
val lineCount: Int
maxUndoLevels
Link copied to clipboard
var maxUndoLevels: UInt
modified
Link copied to clipboard
var modified: Boolean
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
selectionBound
Link copied to clipboard
val selectionBound: TextMark
selectionBounds
Link copied to clipboard
val selectionBounds: Pair<TextIter, TextIter>
selectionContent
Link copied to clipboard
val selectionContent: ContentProvider
startIter
Link copied to clipboard
val startIter: TextIter
tagTable
Link copied to clipboard
val tagTable: TextTagTable
textBufferPointer
Link copied to clipboard
val textBufferPointer: CPointer<GtkTextBuffer>
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>