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
Methods
Assign(TextIter)
public void Assign(TextIter other)
Parameters
other
TextIter
BackwardChar()
public bool BackwardChar()
Returns
BackwardChars(int)
public bool BackwardChars(int count)
Parameters
count
int
Returns
BackwardCursorPosition()
public bool BackwardCursorPosition()
Returns
BackwardCursorPositions(int)
public bool BackwardCursorPositions(int count)
Parameters
count
int
Returns
BackwardFindChar(TextCharPredicate, TextIter?)
public bool BackwardFindChar(TextCharPredicate pred, TextIter? limit)
Parameters
pred
TextCharPredicatelimit
TextIter
Returns
BackwardLine()
public bool BackwardLine()
Returns
BackwardLines(int)
public bool BackwardLines(int count)
Parameters
count
int
Returns
BackwardSentenceStart()
public bool BackwardSentenceStart()
Returns
BackwardSentenceStarts(int)
public bool BackwardSentenceStarts(int count)
Parameters
count
int
Returns
BackwardToTagToggle(TextTag?)
public bool BackwardToTagToggle(TextTag? tag)
Parameters
tag
TextTag
Returns
BackwardVisibleCursorPosition()
public bool BackwardVisibleCursorPosition()
Returns
BackwardVisibleCursorPositions(int)
public bool BackwardVisibleCursorPositions(int count)
Parameters
count
int
Returns
BackwardVisibleLine()
public bool BackwardVisibleLine()
Returns
BackwardVisibleLines(int)
public bool BackwardVisibleLines(int count)
Parameters
count
int
Returns
BackwardVisibleWordStart()
public bool BackwardVisibleWordStart()
Returns
BackwardVisibleWordStarts(int)
public bool BackwardVisibleWordStarts(int count)
Parameters
count
int
Returns
BackwardWordStart()
public bool BackwardWordStart()
Returns
BackwardWordStarts(int)
public bool BackwardWordStarts(int count)
Parameters
count
int
Returns
CanInsert(bool)
public bool CanInsert(bool defaultEditability)
Parameters
defaultEditability
bool
Returns
Compare(TextIter)
public int Compare(TextIter rhs)
Parameters
rhs
TextIter
Returns
Copy()
public TextIter Copy()
Returns
Editable(bool)
public bool Editable(bool defaultSetting)
Parameters
defaultSetting
bool
Returns
EndsLine()
public bool EndsLine()
Returns
EndsSentence()
public bool EndsSentence()
Returns
EndsTag(TextTag?)
public bool EndsTag(TextTag? tag)
Parameters
tag
TextTag
Returns
EndsWord()
public bool EndsWord()
Returns
Equal(TextIter)
public bool Equal(TextIter rhs)
Parameters
rhs
TextIter
Returns
Equals(TextIter?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(TextIter? other)
Parameters
other
TextIterAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
ForwardChar()
public bool ForwardChar()
Returns
ForwardChars(int)
public bool ForwardChars(int count)
Parameters
count
int
Returns
ForwardCursorPosition()
public bool ForwardCursorPosition()
Returns
ForwardCursorPositions(int)
public bool ForwardCursorPositions(int count)
Parameters
count
int
Returns
ForwardFindChar(TextCharPredicate, TextIter?)
public bool ForwardFindChar(TextCharPredicate pred, TextIter? limit)
Parameters
pred
TextCharPredicatelimit
TextIter
Returns
ForwardLine()
public bool ForwardLine()
Returns
ForwardLines(int)
public bool ForwardLines(int count)
Parameters
count
int
Returns
ForwardSentenceEnd()
public bool ForwardSentenceEnd()
Returns
ForwardSentenceEnds(int)
public bool ForwardSentenceEnds(int count)
Parameters
count
int
Returns
ForwardToEnd()
public void ForwardToEnd()
ForwardToLineEnd()
public bool ForwardToLineEnd()
Returns
ForwardToTagToggle(TextTag?)
public bool ForwardToTagToggle(TextTag? tag)
Parameters
tag
TextTag
Returns
ForwardVisibleCursorPosition()
public bool ForwardVisibleCursorPosition()
Returns
ForwardVisibleCursorPositions(int)
public bool ForwardVisibleCursorPositions(int count)
Parameters
count
int
Returns
ForwardVisibleLine()
public bool ForwardVisibleLine()
Returns
ForwardVisibleLines(int)
public bool ForwardVisibleLines(int count)
Parameters
count
int
Returns
ForwardVisibleWordEnd()
public bool ForwardVisibleWordEnd()
Returns
ForwardVisibleWordEnds(int)
public bool ForwardVisibleWordEnds(int count)
Parameters
count
int
Returns
ForwardWordEnd()
public bool ForwardWordEnd()
Returns
ForwardWordEnds(int)
public bool ForwardWordEnds(int count)
Parameters
count
int
Returns
Free()
public void Free()
GetBuffer()
public TextBuffer GetBuffer()
Returns
GetBytesInLine()
public int GetBytesInLine()
Returns
GetChar()
public uint GetChar()
Returns
GetCharsInLine()
public int GetCharsInLine()
Returns
GetChildAnchor()
public TextChildAnchor? GetChildAnchor()
Returns
GetGType()
public static Type GetGType()
Returns
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
GetLine()
public int GetLine()
Returns
GetLineIndex()
public int GetLineIndex()
Returns
GetLineOffset()
public int GetLineOffset()
Returns
GetOffset()
public int GetOffset()
Returns
GetPaintable()
public Paintable? GetPaintable()
Returns
GetSlice(TextIter)
public string GetSlice(TextIter end)
Parameters
end
TextIter
Returns
GetText(TextIter)
public string GetText(TextIter end)
Parameters
end
TextIter
Returns
GetVisibleLineIndex()
public int GetVisibleLineIndex()
Returns
GetVisibleLineOffset()
public int GetVisibleLineOffset()
Returns
GetVisibleSlice(TextIter)
public string GetVisibleSlice(TextIter end)
Parameters
end
TextIter
Returns
GetVisibleText(TextIter)
public string GetVisibleText(TextIter end)
Parameters
end
TextIter
Returns
HasTag(TextTag)
public bool HasTag(TextTag tag)
Parameters
tag
TextTag
Returns
InRange(TextIter, TextIter)
public bool InRange(TextIter start, TextIter end)
Parameters
Returns
InsideSentence()
public bool InsideSentence()
Returns
InsideWord()
public bool InsideWord()
Returns
IsCursorPosition()
public bool IsCursorPosition()
Returns
IsEnd()
public bool IsEnd()
Returns
IsStart()
public bool IsStart()
Returns
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
StartsSentence()
public bool StartsSentence()
Returns
StartsTag(TextTag?)
public bool StartsTag(TextTag? tag)
Parameters
tag
TextTag
Returns
StartsWord()
public bool StartsWord()
Returns
TogglesTag(TextTag?)
public bool TogglesTag(TextTag? tag)
Parameters
tag
TextTag