|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-27 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-text/gal-a11y-e-text-factory.c
(gal_a11y_e_text_factory_create_accessible): set the role of the
atk object in the initialization function of GalA11yEText
* gal/a11y/e-text/gal-a11y-e-text.c (is_a_seperator),
(find_word_start), (find_word_end), (find_sentence_start),
(find_sentence_end), (find_line_start), (find_line_end): 7 new
private functions, They are all used by text retrieving functions
below.
(et_get_text_after_offset): implementation added
(et_get_text_at_offset): implementation added
(et_get_text_before_offset): implementation added
(et_get_character_extents): implementation added
(et_get_offset_at_point): implementation added
(et_set_caret_offset): use command to modify the cursor position,
so that we can be notified and emit "text-caret-moved" signal in
function _et_command_cb.
(_et_reposition_cb): new function to emit "text-changed" signal
for the atk object
(_et_command_cb): new function to emit "text-caret-moved" and
"text-selection-changed" signals for the atk object
(et_real_initialize): new function to deal with initialization of
GalA11yEText. It set some signal callbacks and the atk role of
the atk object (set GalA11yEText's role to ATK_ROLE_TEXT).
(et_class_init): override the virtual function "initialize" in
baseclass (AtkObject) with "et_real_initialize"
svn path=/trunk/; revision=22856
|