Re: clipboard pasted text highlighting broken?



"Dugas, Alan" <alan dugas analog com> writes:
> gtk_entry_append_text(GTK_EDITABLE(GTK_ENTRY(entry)), " ");
> 
> > > gtk_editable_select_region(GTK_EDITABLE(GTK_ENTRY(entry)), (gint) 0,
> > (gint) -1);
> > > gtk_widget_show(entry);
> > 
> all of the text in the gtkentry gets selected/highlighted properly!?!?!?
> But wouldn't that mean it's somehow forcing the conditions mentioned below.
> Havoc/Owen, does this hack make sense to either of you?
> 

Yes, if you paste into a selection, the selection is deleted and the
pasted text becomes selected.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]