class Gtk::TextIter

Overview

An iterator for the contents of a Gtk::TextBuffer.

You may wish to begin by reading the text widget conceptual overview, which gives an overview of all the objects and data types related to the text widget and how they work together.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/text_iter.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

[View source]
def self.new(data : LibGtk::TextIter, transfer : GICrystal::Transfer) #

[View source]
def self.new(dummy3 : Int32 | Nil = nil, dummy4 : Int32 | Nil = nil, dummy5 : Int32 | Nil = nil, dummy6 : Int32 | Nil = nil, dummy7 : Int32 | Nil = nil, dummy8 : Int32 | Nil = nil, dummy11 : Int32 | Nil = nil, dummy12 : Int32 | Nil = nil, dummy13 : Int32 | Nil = nil) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def assign(other : Gtk::TextIter) : Nil #

[View source]
def backward_char : Bool #

[View source]
def backward_chars(count : Int32) : Bool #

[View source]
def backward_cursor_position : Bool #

[View source]
def backward_cursor_positions(count : Int32) : Bool #

[View source]
def backward_find_char(pred : Gtk::TextCharPredicate, user_data : Pointer(Void) | Nil, limit : Gtk::TextIter | Nil) : Bool #

[View source]
def backward_line : Bool #

[View source]
def backward_lines(count : Int32) : Bool #

[View source]
def backward_search(str : String, flags : Gtk::TextSearchFlags, limit : Gtk::TextIter | Nil) : Gtk::TextIter #

[View source]
def backward_sentence_start : Bool #

[View source]
def backward_sentence_starts(count : Int32) : Bool #

[View source]
def backward_to_tag_toggle(tag : Gtk::TextTag | Nil) : Bool #

[View source]
def backward_visible_cursor_position : Bool #

[View source]
def backward_visible_cursor_positions(count : Int32) : Bool #

[View source]
def backward_visible_line : Bool #

[View source]
def backward_visible_lines(count : Int32) : Bool #

[View source]
def backward_visible_word_start : Bool #

[View source]
def backward_visible_word_starts(count : Int32) : Bool #

[View source]
def backward_word_start : Bool #

[View source]
def backward_word_starts(count : Int32) : Bool #

[View source]
def buffer : Gtk::TextBuffer #

[View source]
def bytes_in_line : Int32 #

[View source]
def can_insert(default_editability : Bool) : Bool #

[View source]
def char : Char #

[View source]
def chars_in_line : Int32 #

[View source]
def child_anchor : Gtk::TextChildAnchor | Nil #

[View source]
def compare(rhs : Gtk::TextIter) : Int32 #

[View source]
def copy : Gtk::TextIter #

[View source]
def dummy1 : Pointer(Void) | Nil #

[View source]
def dummy1! #

[View source]
def dummy10 : Pointer(Void) | Nil #

[View source]
def dummy10! #

[View source]
def dummy11 : Int32 #

[View source]
def dummy11=(value : Int32) #

[View source]
def dummy12 : Int32 #

[View source]
def dummy12=(value : Int32) #

[View source]
def dummy13 : Int32 #

[View source]
def dummy13=(value : Int32) #

[View source]
def dummy14 : Pointer(Void) | Nil #

[View source]
def dummy14! #

[View source]
def dummy2 : Pointer(Void) | Nil #

[View source]
def dummy2! #

[View source]
def dummy3 : Int32 #

[View source]
def dummy3=(value : Int32) #

[View source]
def dummy4 : Int32 #

[View source]
def dummy4=(value : Int32) #

[View source]
def dummy5 : Int32 #

[View source]
def dummy5=(value : Int32) #

[View source]
def dummy6 : Int32 #

[View source]
def dummy6=(value : Int32) #

[View source]
def dummy7 : Int32 #

[View source]
def dummy7=(value : Int32) #

[View source]
def dummy8 : Int32 #

[View source]
def dummy8=(value : Int32) #

[View source]
def dummy9 : Pointer(Void) | Nil #

[View source]
def dummy9! #

[View source]
def editable(default_setting : Bool) : Bool #

[View source]
def ends_line : Bool #

[View source]
def ends_sentence : Bool #

[View source]
def ends_tag(tag : Gtk::TextTag | Nil) : Bool #

[View source]
def ends_word : Bool #

[View source]
def equal(rhs : Gtk::TextIter) : Bool #

[View source]
def forward_char : Bool #

[View source]
def forward_chars(count : Int32) : Bool #

[View source]
def forward_cursor_position : Bool #

[View source]
def forward_cursor_positions(count : Int32) : Bool #

[View source]
def forward_find_char(pred : Gtk::TextCharPredicate, user_data : Pointer(Void) | Nil, limit : Gtk::TextIter | Nil) : Bool #

[View source]
def forward_line : Bool #

[View source]
def forward_lines(count : Int32) : Bool #

[View source]
def forward_search(str : String, flags : Gtk::TextSearchFlags, limit : Gtk::TextIter | Nil) : Gtk::TextIter #

[View source]
def forward_sentence_end : Bool #

[View source]
def forward_sentence_ends(count : Int32) : Bool #

[View source]
def forward_to_end : Nil #

[View source]
def forward_to_line_end : Bool #

[View source]
def forward_to_tag_toggle(tag : Gtk::TextTag | Nil) : Bool #

[View source]
def forward_visible_cursor_position : Bool #

[View source]
def forward_visible_cursor_positions(count : Int32) : Bool #

[View source]
def forward_visible_line : Bool #

[View source]
def forward_visible_lines(count : Int32) : Bool #

[View source]
def forward_visible_word_end : Bool #

[View source]
def forward_visible_word_ends(count : Int32) : Bool #

[View source]
def forward_word_end : Bool #

[View source]
def forward_word_ends(count : Int32) : Bool #

[View source]
def free : Nil #

[View source]
def has_tag(tag : Gtk::TextTag) : Bool #

[View source]
def in_range(start : Gtk::TextIter, end _end : Gtk::TextIter) : Bool #

[View source]
def inside_sentence : Bool #

[View source]
def inside_word : Bool #

[View source]
def is_cursor_position : Bool #

[View source]
def is_end : Bool #

[View source]
def is_start : Bool #

[View source]
def language : Pango::Language #

[View source]
def line : Int32 #

[View source]
def line=(line_number : Int32) : Nil #

[View source]
def line_index : Int32 #

[View source]
def line_index=(byte_on_line : Int32) : Nil #

[View source]
def line_offset : Int32 #

[View source]
def line_offset=(char_on_line : Int32) : Nil #

[View source]
def marks : GLib::SList #

[View source]
def offset : Int32 #

[View source]
def offset=(char_offset : Int32) : Nil #

[View source]
def order(second : Gtk::TextIter) : Nil #

[View source]
def paintable : Gdk::Paintable | Nil #

[View source]
def slice(end _end : Gtk::TextIter) : String #

[View source]
def starts_line : Bool #

[View source]
def starts_sentence : Bool #

[View source]
def starts_tag(tag : Gtk::TextTag | Nil) : Bool #

[View source]
def starts_word : Bool #

[View source]
def tags : GLib::SList #

[View source]
def text(end _end : Gtk::TextIter) : String #

[View source]
def to_unsafe #

[View source]
def toggled_tags(toggled_on : Bool) : GLib::SList #

[View source]
def toggles_tag(tag : Gtk::TextTag | Nil) : Bool #

[View source]
def visible_line_index : Int32 #

[View source]
def visible_line_index=(byte_on_line : Int32) : Nil #

[View source]
def visible_line_offset : Int32 #

[View source]
def visible_line_offset=(char_on_line : Int32) : Nil #

[View source]
def visible_slice(end _end : Gtk::TextIter) : String #

[View source]
def visible_text(end _end : Gtk::TextIter) : String #

[View source]