Enable undo-commit iff IBUS_CAP_SURROUNDING_TEXT is set.
Ibus doesn't have any appropriate capability flag to indicate
when we can reliably use |ibus_engine_delete_surrounding_text|.
With this CL, undo-commit is enabled more conservatively. It now
requires the client to set IBUS_CAP_SURROUNDING_TEXT bit.
Loading branch information...
Aug 15, 2015