DescriptionAdd support for deleting non preceeding surrounding text in chrome.input.ime.deleteSurroundingText
Previously, only text before cursor will be removed regardless the value of
offset. This CL adds support for deleting text after cursor. We want to this
feature in order to implement "set existing word to composition mode" feature
when cursor is moved inside an existing word. We want to be able to remove the
parts of the existing word before cursor and after cursor first and then call
setComposition to set the word to composition mode.
Note: this API tries to comform the API spec of ibus delete_surrounding_text
here: ibus.googlecode.com/svn/docs/ibus-1.5/IBusInputContext.html#IBusInputContext-delete-surrounding-text
A noticible difference is a positive offset value in this API does not take effect.
BUG=446249
Committed: https://crrev.com/756820cb2c42a7b302a16d24909d820ee18dad0e
Cr-Commit-Position: refs/heads/master@{#312113}
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|