TODO ================================= [ ] Remove GtkTextView-GscManager Control when we integrate Gsc into Gsv [ ] Support to set the focus on the popup and info windows. [X] Better key control in triggers because if you configure <control>Return and press control+shift+return, it works but it is wrong. [X] Set Gsc-Info text position on middle-left [X] It would be nice if the info windows can store the visibility state [ ] Control view scrolling: When the user scroll the view, we update the popup position and, if the cursor goes out of the screen, we hide the completion [X] Connect to show/hide or visibility of the info window into GscCompleton to a better control. New manager TODO ================== [ ] Add autoselect feature [X] change activate/deactivate functions to set_active and get_active function and an "active" property. [X] Add "select-on-show" property to GscCompletion. If TRUE, it set the selection cursor to the first proposal when the popup is shown (does not select the proposal, only set the focus) [X] Set _gsc_completion_info_show and _gsc_completion_info_hide public in gsc-completion.h? Add a "info-visible" property to get or set info widget visibility?. Finally you only need GscInfo *info = gsc_completion_get_info_widget and then gtk_widget_show and hide. [ ] Add a "manage-popup-position" property. If FALSE, GscCompletion will not positioning the popup on show. Tests TODO ============ [X] Test with a custom info widget. [X] Test enable-disable completion "on-the-fly". [X] Test completion filters. [X] Test calltips by pressing some keys [ ] Test disconnecting manage-completion-keys and manage it with another function. [ ] Test add a filter widget to the completion. [ ] Test calltips with the mouse [ ] Test calltips autocontrolling the position (on cursor) and the show/hide * show -> with keys or mouse * hide -> when the current line change * -> when the user press esc * -> when completion is shown