Re: Howto register/unregister words completion provider on buffer change in textview?

2018-09-30 Thread David C. Rankin
On 09/16/2018 03:53 AM, David C. Rankin wrote: > On 09/16/2018 03:21 AM, David C. Rankin wrote: >> Each treemodel entry has a struct containing a pointer to its >> GtkSourceCompletionWords provider. > > Uugh... > > That should read the editor instance struct associated with the sourceview has >

Re: Howto register/unregister words completion provider on buffer change in textview?

2018-09-16 Thread David C. Rankin
On 09/16/2018 03:21 AM, David C. Rankin wrote: > Each treemodel entry has a struct containing a pointer to its > GtkSourceCompletionWords provider. Uugh... That should read the editor instance struct associated with the sourceview has a pointer to its GtkSourceCompletionWords provider. (the tre

Howto register/unregister words completion provider on buffer change in textview?

2018-09-16 Thread David C. Rankin
All, I have an editor that holds the open files on the left in a treeview/treemodel and displays the buffer containing each file in a textview (sourceview) window on the right. Each treemodel entry has a struct containing a pointer to its GtkSourceCompletionWords provider. The word-completion