forked from AuroraMiddleware/gtk
Don't call gtk_text_iter_backward_sentence_start() if count is zero.
2002-12-23 Matthias Clasen <maclas@gmx.de> * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts): Don't call gtk_text_iter_backward_sentence_start() if count is zero. (#99115) * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call move_cursor() even if the cursor hasn't moved, since it has the side effect of canceling the selection. (#81395, #98537, #9833)
This commit is contained in:
parent
decacd40a6
commit
98c47bc895
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2002-12-23 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
|
||||
Don't call gtk_text_iter_backward_sentence_start() if
|
||||
count is zero. (#99115)
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
|
||||
move_cursor() even if the cursor hasn't moved, since it has the
|
||||
side effect of canceling the selection. (#81395, #98537, #9833)
|
||||
|
||||
2002-12-22 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
|
||||
|
@ -1,3 +1,13 @@
|
||||
2002-12-23 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
|
||||
Don't call gtk_text_iter_backward_sentence_start() if
|
||||
count is zero. (#99115)
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
|
||||
move_cursor() even if the cursor hasn't moved, since it has the
|
||||
side effect of canceling the selection. (#81395, #98537, #9833)
|
||||
|
||||
2002-12-22 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
|
||||
|
@ -1,3 +1,13 @@
|
||||
2002-12-23 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
|
||||
Don't call gtk_text_iter_backward_sentence_start() if
|
||||
count is zero. (#99115)
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
|
||||
move_cursor() even if the cursor hasn't moved, since it has the
|
||||
side effect of canceling the selection. (#81395, #98537, #9833)
|
||||
|
||||
2002-12-22 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
|
||||
|
@ -1,3 +1,13 @@
|
||||
2002-12-23 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
|
||||
Don't call gtk_text_iter_backward_sentence_start() if
|
||||
count is zero. (#99115)
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
|
||||
move_cursor() even if the cursor hasn't moved, since it has the
|
||||
side effect of canceling the selection. (#81395, #98537, #9833)
|
||||
|
||||
2002-12-22 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
|
||||
|
@ -1,3 +1,13 @@
|
||||
2002-12-23 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
|
||||
Don't call gtk_text_iter_backward_sentence_start() if
|
||||
count is zero. (#99115)
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
|
||||
move_cursor() even if the cursor hasn't moved, since it has the
|
||||
side effect of canceling the selection. (#81395, #98537, #9833)
|
||||
|
||||
2002-12-22 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
|
||||
|
@ -1,3 +1,13 @@
|
||||
2002-12-23 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
|
||||
Don't call gtk_text_iter_backward_sentence_start() if
|
||||
count is zero. (#99115)
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
|
||||
move_cursor() even if the cursor hasn't moved, since it has the
|
||||
side effect of canceling the selection. (#81395, #98537, #9833)
|
||||
|
||||
2002-12-22 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
|
||||
|
@ -3302,6 +3302,9 @@ gtk_text_iter_backward_sentence_starts (GtkTextIter *iter,
|
||||
{
|
||||
g_return_val_if_fail (iter != NULL, FALSE);
|
||||
|
||||
if (count == 0)
|
||||
return FALSE;
|
||||
|
||||
if (count < 0)
|
||||
return gtk_text_iter_forward_sentence_ends (iter, -count);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user