* atk/atkeditabletext.[ch], atk/atktext.[ch]
* docs/atk-overrides.txt, docs/Makefile.am
Updated the interface for dealing with selected
- text to handle multiple selected regions. Added
+ text to handle multiple selected regions. Removed
+ get_row_col_at_offset from atktext.[ch]. Added
docs/atk-overrides.txt file.
Thu May 31 Brian Cameron <brian.cameron@sun.com>
}
/**
- * atk_text_get_row_col_at_offset
- * @text: an #AtkText
- * @offset: position
- * @row: row number
- * @col: column number
- *
- * Given an @offset, the @row and @col arguments are filled appropriately.
- **/
-void
-atk_text_get_row_col_at_offset (AtkText *text,
- gint offset,
- gint *row,
- gint *col)
-{
- AtkTextIface *iface;
-
- g_return_if_fail (text != NULL);
- g_return_if_fail (ATK_IS_TEXT (text));
-
- iface = ATK_TEXT_GET_IFACE (text);
-
- if (iface->get_row_col_at_offset)
- (*(iface->get_row_col_at_offset)) (text, offset, row, col);
- else
- {
- *row = 0;
- *col = 0;
- }
-}
-
-/**
* atk_text_get_range_attributes
* @text: an #AtkText
* @start_offset: start position
gint offset,
AtkTextBoundary boundary_type);
gint (* get_caret_offset) (AtkText *text);
- void (* get_row_col_at_offset) (AtkText *text,
- gint offset,
- gint *row,
- gint *col);
PangoAttrList* (* get_range_attributes) (AtkText *text,
gint start_offset,
gint end_offset);
gint offset,
AtkTextBoundary boundary_type);
gint atk_text_get_caret_offset (AtkText *text);
-void atk_text_get_row_col_at_offset (AtkText *text,
- gint offset,
- gint *row,
- gint *col);
PangoAttrList* atk_text_get_range_attributes (AtkText *text,
gint start_offset,
gint end_offset);