SourceRegion
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_source_region_get_type ()" ) ]
[ GIR ( name = "Region" ) ]
public class SourceRegion : Object
Content:
Properties:
- public TextBuffer buffer { get; construct; }
The TextBuffer.
Creation methods:
Methods:
- public void add_region (SourceRegion? region_to_add)
Adds region_to_add
to this
.
- public void add_subregion (TextIter _start, TextIter _end)
Adds the subregion delimited by _start
and _end
to this.
- public bool get_bounds (out TextIter start, out TextIter end)
Gets the start
and end
bounds of the
this.
- public unowned TextBuffer? get_buffer ()
- public SourceRegionIter get_start_region_iter ()
- public SourceRegion? intersect_region (SourceRegion? region2)
Returns the intersection between this
and region2
.
- public SourceRegion? intersect_subregion (TextIter _start, TextIter _end)
Returns the intersection between this
and the subregion delimited by _start
and _end
.
- public bool is_empty ()
Returns whether the this is empty.
- public void subtract_region (SourceRegion? region_to_subtract)
Subtracts region_to_subtract
from
this.
- public void subtract_subregion (TextIter _start, TextIter _end)
Subtracts the subregion delimited by _start
and
_end
from this.
- public string? to_string ()
Gets a string represention of this,
for debugging purposes.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref