Re: textview widget selection buffer_select_range is cleared when dialog closes (intermittently?)

2017-02-22 Thread David C. Rankin
On 02/22/2017 08:24 AM, Norbert de Jonge wrote: > I can't help you, but after seeing some of your functions I'm > wondering... Setting the search direction (backwards, forwards), > setting/toggling case sensitivity (yes, no), and moving the selection > to whatever matches next; these are

Re: textview widget selection buffer_select_range is cleared when dialog closes (intermittently?)

2017-02-22 Thread Norbert de Jonge
> > I have a textview widget being used in an editor where an > > incremental search is performed. [...] I can't help you, but after seeing some of your functions I'm wondering... Setting the search direction (backwards, forwards), setting/toggling case sensitivity (yes, no), and moving the

Re: textview widget selection buffer_select_range is cleared when dialog closes (intermittently?)

2017-02-21 Thread David C. Rankin
On 02/22/2017 12:34 AM, David C. Rankin wrote: > All, > > I have a textview widget being used in an editor where an incremental search > is performed. The matched words are highlighted with: > > gtk_text_buffer_select_range (buffer, , ); > > After the last match in the search range (either

textview widget selection buffer_select_range is cleared when dialog closes (intermittently?)

2017-02-21 Thread David C. Rankin
All, I have a textview widget being used in an editor where an incremental search is performed. The matched words are highlighted with: gtk_text_buffer_select_range (buffer, , ); After the last match in the search range (either whole buffer, from cursor [insert mark] or by selection), a