Table of Contents

Class TextIter

Namespace
Gtk
Assembly
Gtk-4.0.dll
public sealed class TextIter : BoxedRecord, IEquatable<TextIter>
Inheritance
TextIter
Implements
Inherited Members

Constructors

TextIter()

public TextIter()

TextIter(TextIterOwnedHandle)

public TextIter(TextIterOwnedHandle handle)

Parameters

handle TextIterOwnedHandle

Properties

Handle

public TextIterOwnedHandle Handle { get; }

Property Value

TextIterOwnedHandle

Methods

Assign(TextIter)

public void Assign(TextIter other)

Parameters

other TextIter

BackwardChar()

public bool BackwardChar()

Returns

bool

BackwardChars(int)

public bool BackwardChars(int count)

Parameters

count int

Returns

bool

BackwardCursorPosition()

public bool BackwardCursorPosition()

Returns

bool

BackwardCursorPositions(int)

public bool BackwardCursorPositions(int count)

Parameters

count int

Returns

bool

BackwardFindChar(TextCharPredicate, TextIter?)

public bool BackwardFindChar(TextCharPredicate pred, TextIter? limit)

Parameters

pred TextCharPredicate
limit TextIter

Returns

bool

BackwardLine()

public bool BackwardLine()

Returns

bool

BackwardLines(int)

public bool BackwardLines(int count)

Parameters

count int

Returns

bool

BackwardSentenceStart()

public bool BackwardSentenceStart()

Returns

bool

BackwardSentenceStarts(int)

public bool BackwardSentenceStarts(int count)

Parameters

count int

Returns

bool

BackwardToTagToggle(TextTag?)

public bool BackwardToTagToggle(TextTag? tag)

Parameters

tag TextTag

Returns

bool

BackwardVisibleCursorPosition()

public bool BackwardVisibleCursorPosition()

Returns

bool

BackwardVisibleCursorPositions(int)

public bool BackwardVisibleCursorPositions(int count)

Parameters

count int

Returns

bool

BackwardVisibleLine()

public bool BackwardVisibleLine()

Returns

bool

BackwardVisibleLines(int)

public bool BackwardVisibleLines(int count)

Parameters

count int

Returns

bool

BackwardVisibleWordStart()

public bool BackwardVisibleWordStart()

Returns

bool

BackwardVisibleWordStarts(int)

public bool BackwardVisibleWordStarts(int count)

Parameters

count int

Returns

bool

BackwardWordStart()

public bool BackwardWordStart()

Returns

bool

BackwardWordStarts(int)

public bool BackwardWordStarts(int count)

Parameters

count int

Returns

bool

CanInsert(bool)

public bool CanInsert(bool defaultEditability)

Parameters

defaultEditability bool

Returns

bool

Compare(TextIter)

public int Compare(TextIter rhs)

Parameters

rhs TextIter

Returns

int

Copy()

public TextIter Copy()

Returns

TextIter

Editable(bool)

public bool Editable(bool defaultSetting)

Parameters

defaultSetting bool

Returns

bool

EndsLine()

public bool EndsLine()

Returns

bool

EndsSentence()

public bool EndsSentence()

Returns

bool

EndsTag(TextTag?)

public bool EndsTag(TextTag? tag)

Parameters

tag TextTag

Returns

bool

EndsWord()

public bool EndsWord()

Returns

bool

Equal(TextIter)

public bool Equal(TextIter rhs)

Parameters

rhs TextIter

Returns

bool

Equals(TextIter?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(TextIter? other)

Parameters

other TextIter

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

ForwardChar()

public bool ForwardChar()

Returns

bool

ForwardChars(int)

public bool ForwardChars(int count)

Parameters

count int

Returns

bool

ForwardCursorPosition()

public bool ForwardCursorPosition()

Returns

bool

ForwardCursorPositions(int)

public bool ForwardCursorPositions(int count)

Parameters

count int

Returns

bool

ForwardFindChar(TextCharPredicate, TextIter?)

public bool ForwardFindChar(TextCharPredicate pred, TextIter? limit)

Parameters

pred TextCharPredicate
limit TextIter

Returns

bool

ForwardLine()

public bool ForwardLine()

Returns

bool

ForwardLines(int)

public bool ForwardLines(int count)

Parameters

count int

Returns

bool

ForwardSentenceEnd()

public bool ForwardSentenceEnd()

Returns

bool

ForwardSentenceEnds(int)

public bool ForwardSentenceEnds(int count)

Parameters

count int

Returns

bool

ForwardToEnd()

public void ForwardToEnd()

ForwardToLineEnd()

public bool ForwardToLineEnd()

Returns

bool

ForwardToTagToggle(TextTag?)

public bool ForwardToTagToggle(TextTag? tag)

Parameters

tag TextTag

Returns

bool

ForwardVisibleCursorPosition()

public bool ForwardVisibleCursorPosition()

Returns

bool

ForwardVisibleCursorPositions(int)

public bool ForwardVisibleCursorPositions(int count)

Parameters

count int

Returns

bool

ForwardVisibleLine()

public bool ForwardVisibleLine()

Returns

bool

ForwardVisibleLines(int)

public bool ForwardVisibleLines(int count)

Parameters

count int

Returns

bool

ForwardVisibleWordEnd()

public bool ForwardVisibleWordEnd()

Returns

bool

ForwardVisibleWordEnds(int)

public bool ForwardVisibleWordEnds(int count)

Parameters

count int

Returns

bool

ForwardWordEnd()

public bool ForwardWordEnd()

Returns

bool

ForwardWordEnds(int)

public bool ForwardWordEnds(int count)

Parameters

count int

Returns

bool

Free()

public void Free()

GetBuffer()

public TextBuffer GetBuffer()

Returns

TextBuffer

GetBytesInLine()

public int GetBytesInLine()

Returns

int

GetChar()

public uint GetChar()

Returns

uint

GetCharsInLine()

public int GetCharsInLine()

Returns

int

GetChildAnchor()

public TextChildAnchor? GetChildAnchor()

Returns

TextChildAnchor

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetLanguage()

public Language GetLanguage()

Returns

Language

GetLine()

public int GetLine()

Returns

int

GetLineIndex()

public int GetLineIndex()

Returns

int

GetLineOffset()

public int GetLineOffset()

Returns

int

GetOffset()

public int GetOffset()

Returns

int

GetPaintable()

public Paintable? GetPaintable()

Returns

Paintable

GetSlice(TextIter)

public string GetSlice(TextIter end)

Parameters

end TextIter

Returns

string

GetText(TextIter)

public string GetText(TextIter end)

Parameters

end TextIter

Returns

string

GetVisibleLineIndex()

public int GetVisibleLineIndex()

Returns

int

GetVisibleLineOffset()

public int GetVisibleLineOffset()

Returns

int

GetVisibleSlice(TextIter)

public string GetVisibleSlice(TextIter end)

Parameters

end TextIter

Returns

string

GetVisibleText(TextIter)

public string GetVisibleText(TextIter end)

Parameters

end TextIter

Returns

string

HasTag(TextTag)

public bool HasTag(TextTag tag)

Parameters

tag TextTag

Returns

bool

InRange(TextIter, TextIter)

public bool InRange(TextIter start, TextIter end)

Parameters

start TextIter
end TextIter

Returns

bool

InsideSentence()

public bool InsideSentence()

Returns

bool

InsideWord()

public bool InsideWord()

Returns

bool

IsCursorPosition()

public bool IsCursorPosition()

Returns

bool

IsEnd()

public bool IsEnd()

Returns

bool

IsStart()

public bool IsStart()

Returns

bool

Order(TextIter)

public void Order(TextIter second)

Parameters

second TextIter

SetLine(int)

public void SetLine(int lineNumber)

Parameters

lineNumber int

SetLineIndex(int)

public void SetLineIndex(int byteOnLine)

Parameters

byteOnLine int

SetLineOffset(int)

public void SetLineOffset(int charOnLine)

Parameters

charOnLine int

SetOffset(int)

public void SetOffset(int charOffset)

Parameters

charOffset int

SetVisibleLineIndex(int)

public void SetVisibleLineIndex(int byteOnLine)

Parameters

byteOnLine int

SetVisibleLineOffset(int)

public void SetVisibleLineOffset(int charOnLine)

Parameters

charOnLine int

StartsLine()

public bool StartsLine()

Returns

bool

StartsSentence()

public bool StartsSentence()

Returns

bool

StartsTag(TextTag?)

public bool StartsTag(TextTag? tag)

Parameters

tag TextTag

Returns

bool

StartsWord()

public bool StartsWord()

Returns

bool

TogglesTag(TextTag?)

public bool TogglesTag(TextTag? tag)

Parameters

tag TextTag

Returns

bool