Skip to content

sourceview: Fix Tab key with IBus pre-edit in Xorg

Takao Fujiwara requested to merge fujiwarat/gtksourceview:ibus-tab-xorg into master

When Tab key is pressed with input-method pre-edit mode in ibus-anthy or ibus-typing-booster, the key can be a control key of the candidate popup window and it needs to be handled before GtkSourceView handles the auto-indent features. Otherwise the pre-edit and the candidate popup window are shifted with the Tab width. This change effects GTK_IM_MODULE=ibus only and makes the consistent behavior for GTK_IM_MODULE=wayland.

Fixes: #320 (closed)

Merge request reports