aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorTim Wo <tim.wo@sun.com>2003-09-24 19:26:00 +0800
committerGilbert Fang <gilbertfang@src.gnome.org>2003-09-24 19:26:00 +0800
commit030eb06b189f5ff786a5608433c338e5b643d945 (patch)
tree78ea260e40a23b7540e2dabf6f9c66e652e5c629 /composer
parent9cd7b8f8ba994fc509c52028aed2d0b14bce175a (diff)
downloadgsoc2013-evolution-030eb06b189f5ff786a5608433c338e5b643d945.tar
gsoc2013-evolution-030eb06b189f5ff786a5608433c338e5b643d945.tar.gz
gsoc2013-evolution-030eb06b189f5ff786a5608433c338e5b643d945.tar.bz2
gsoc2013-evolution-030eb06b189f5ff786a5608433c338e5b643d945.tar.lz
gsoc2013-evolution-030eb06b189f5ff786a5608433c338e5b643d945.tar.xz
gsoc2013-evolution-030eb06b189f5ff786a5608433c338e5b643d945.tar.zst
gsoc2013-evolution-030eb06b189f5ff786a5608433c338e5b643d945.zip
some checking code added to ensure that end_offset and start_offset both
2003-09-22 Tim Wo <tim.wo@sun.com> * gal/a11y/e-text/gal-a11y-e-text.c (et_get_text): some checking code added to ensure that end_offset and start_offset both belong to [0, length of the text] and end_offset >= start_offset or it will lead to a crash (et_get_caret_offset):no need to deal with character encoding here, since the widget has already delt with it. (et_get_selection): dealing with character encoding and ensure end_offset >= start_offset, or it will lead to a crash (et_add_selection): we can not get the ETextEventProcessor here, so the old implementation leads to a crash. Modify the parameters "selection_start" and "selection_end" directly instead (et_remove_selection): implementation added (et_set_selection): implementation added (et_set_caret_offset): no need to deal with character encoding here, since the widget has already delt with it. Another change is when offset == -1, move the caret to the end of the text, this keeps the same behavior as GailTextview svn path=/trunk/; revision=22685
Diffstat (limited to 'composer')
0 files changed, 0 insertions, 0 deletions