forked from AuroraMiddleware/gtk
Place the cursor at drop point. (#72384) (gtk_text_view_size_allocate):
2002-12-27 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the cursor at drop point. (#72384) (gtk_text_view_size_allocate): Update the horizontal adjustment value. (#75694)
This commit is contained in:
parent
ddf982804f
commit
0ff9554fc3
@ -1,3 +1,10 @@
|
||||
2002-12-27 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
|
||||
cursor at drop point. (#72384)
|
||||
(gtk_text_view_size_allocate): Update the horizontal adjustment
|
||||
value. (#75694)
|
||||
|
||||
2002-12-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-12-27 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
|
||||
cursor at drop point. (#72384)
|
||||
(gtk_text_view_size_allocate): Update the horizontal adjustment
|
||||
value. (#75694)
|
||||
|
||||
2002-12-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-12-27 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
|
||||
cursor at drop point. (#72384)
|
||||
(gtk_text_view_size_allocate): Update the horizontal adjustment
|
||||
value. (#75694)
|
||||
|
||||
2002-12-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-12-27 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
|
||||
cursor at drop point. (#72384)
|
||||
(gtk_text_view_size_allocate): Update the horizontal adjustment
|
||||
value. (#75694)
|
||||
|
||||
2002-12-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-12-27 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
|
||||
cursor at drop point. (#72384)
|
||||
(gtk_text_view_size_allocate): Update the horizontal adjustment
|
||||
value. (#75694)
|
||||
|
||||
2002-12-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-12-27 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
|
||||
cursor at drop point. (#72384)
|
||||
(gtk_text_view_size_allocate): Update the horizontal adjustment
|
||||
value. (#75694)
|
||||
|
||||
2002-12-25 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
|
||||
|
@ -2986,6 +2986,8 @@ gtk_text_view_size_allocate (GtkWidget *widget,
|
||||
text_view->hadjustment->upper = MAX (SCREEN_WIDTH (text_view),
|
||||
text_view->width);
|
||||
gtk_adjustment_changed (text_view->hadjustment);
|
||||
set_adjustment_clamped (text_view->hadjustment,
|
||||
text_view->hadjustment->upper - text_view->hadjustment->page_size);
|
||||
|
||||
text_view->vadjustment->page_size = SCREEN_HEIGHT (text_view);
|
||||
text_view->vadjustment->page_increment = SCREEN_HEIGHT (text_view) * 0.9;
|
||||
@ -5836,6 +5838,8 @@ gtk_text_view_drag_data_received (GtkWidget *widget,
|
||||
else
|
||||
insert_text_data (text_view, &drop_point, selection_data);
|
||||
|
||||
gtk_text_buffer_place_cursor (get_buffer (text_view), &drop_point);
|
||||
|
||||
success = TRUE;
|
||||
|
||||
done:
|
||||
|
Loading…
Reference in New Issue
Block a user