public interface Text {
public signal void text_attributes_changed ( ) ;
public signal void text_caret_moved ( int location ) ;
public signal void text_changed ( int position,
int length ) ;
public signal void text_selection_changed ( ) ;
public static TextAttribute attribute_for_name ( string name ) ;
public static weak string attribute_get_name ( TextAttribute attr ) ;
public static weak string attribute_get_value ( TextAttribute attr,
int index_ ) ;
public static TextAttribute attribute_register ( string name ) ;
public static void free_ranges ( weak TextRange ranges ) ;
public abstract bool add_selection ( int start_offset,
int end_offset ) ;
public abstract weak TextRange get_bounded_ranges ( TextRectangle rect,
CoordType coord_type,
TextClipType x_clip_type,
TextClipType y_clip_type ) ;
public abstract int get_caret_offset ( ) ;
public abstract unichar get_character_at_offset ( int offset ) ;
public abstract int get_character_count ( ) ;
public abstract void get_character_extents ( int offset,
int x,
int y,
int width,
int height,
CoordType coords ) ;
public abstract weak AttributeSet get_default_attributes ( ) ;
public abstract int get_n_selections ( ) ;
public abstract int get_offset_at_point ( int x,
int y,
CoordType coords ) ;
public abstract void get_range_extents ( int start_offset,
int end_offset,
CoordType coord_type,
TextRectangle rect ) ;
public abstract weak AttributeSet get_run_attributes ( int offset,
int start_offset,
int end_offset ) ;
public abstract weak string get_selection ( int selection_num,
int start_offset,
int end_offset ) ;
public abstract weak string get_text ( int start_offset,
int end_offset ) ;
public abstract weak string get_text_after_offset ( int offset,
TextBoundary boundary_type,
int start_offset,
int end_offset ) ;
public abstract weak string get_text_at_offset ( int offset,
TextBoundary boundary_type,
int start_offset,
int end_offset ) ;
public abstract weak string get_text_before_offset ( int offset,
TextBoundary boundary_type,
int start_offset,
int end_offset ) ;
public abstract bool remove_selection ( int selection_num ) ;
public abstract bool set_caret_offset ( int offset ) ;
public abstract bool set_selection ( int selection_num,
int start_offset,
int end_offset ) ;
}
public signal void text_attributes_changed ( ) ;
public signal void text_caret_moved ( int location ) ;
public signal void text_changed ( int position,
int length ) ;
public signal void text_selection_changed ( ) ;
public static TextAttribute attribute_for_name ( string name ) ;
public static weak string attribute_get_name ( TextAttribute attr ) ;
public static weak string attribute_get_value ( TextAttribute attr,
int index_ ) ;
public static TextAttribute attribute_register ( string name ) ;
public static void free_ranges ( weak TextRange ranges ) ;
public abstract bool add_selection ( int start_offset,
int end_offset ) ;
public abstract weak TextRange get_bounded_ranges ( TextRectangle rect,
CoordType coord_type,
TextClipType x_clip_type,
TextClipType y_clip_type ) ;
public abstract int get_caret_offset ( ) ;
public abstract unichar get_character_at_offset ( int offset ) ;
public abstract int get_character_count ( ) ;
public abstract void get_character_extents ( int offset,
int x,
int y,
int width,
int height,
CoordType coords ) ;
public abstract weak AttributeSet get_default_attributes ( ) ;
public abstract int get_n_selections ( ) ;
public abstract int get_offset_at_point ( int x,
int y,
CoordType coords ) ;
public abstract void get_range_extents ( int start_offset,
int end_offset,
CoordType coord_type,
TextRectangle rect ) ;
public abstract weak AttributeSet get_run_attributes ( int offset,
int start_offset,
int end_offset ) ;
public abstract weak string get_selection ( int selection_num,
int start_offset,
int end_offset ) ;
public abstract weak string get_text ( int start_offset,
int end_offset ) ;
public abstract weak string get_text_after_offset ( int offset,
TextBoundary boundary_type,
int start_offset,
int end_offset ) ;
public abstract weak string get_text_at_offset ( int offset,
TextBoundary boundary_type,
int start_offset,
int end_offset ) ;
public abstract weak string get_text_before_offset ( int offset,
TextBoundary boundary_type,
int start_offset,
int end_offset ) ;
public abstract bool remove_selection ( int selection_num ) ;
public abstract bool set_caret_offset ( int offset ) ;
public abstract bool set_selection ( int selection_num,
int start_offset,
int end_offset ) ;
Created by Valadoc