diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 20:10:53 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 20:10:53 +0000 |
commit | 82b0f03294d4a9ee705cddf4a157572ea91512e9 (patch) | |
tree | 4abc976a4e61a171a01daeb2e7ce5a0b71438bef /courgette/image_info.cc | |
parent | c637b3c057964957d9e836975fb2eba59885f2ca (diff) | |
download | chromium_src-82b0f03294d4a9ee705cddf4a157572ea91512e9.zip chromium_src-82b0f03294d4a9ee705cddf4a157572ea91512e9.tar.gz chromium_src-82b0f03294d4a9ee705cddf4a157572ea91512e9.tar.bz2 |
Fix for issue 24888
Richedit seems to have a default paragraph format which will be used when the last paragraph in the document is deleted. (e.g. when SetWindowText is called, or when user manually deletes everything). When this happens, richedit also automatically set keyboard layout to match the default paragraph format. Unfortunately, fix for issue 11683 does not help for this scenario. The default paragraph format seems could only be set when user switches keyboard layout with an empty richedit. The fix in this CL works around the problem by setting richedit's text to empty before it forward the reading order change hotkey (ctrl+shift/shift+ctrl).
BUG=24888
TEST=Verify this CL fixes issue 24888 that LTR/RTL reading order is preserved when user selects suggestions/changes tabs after changing keyboard layout with non-empty text in Omnibox.
Review URL: http://codereview.chromium.org/294013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29695 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/image_info.cc')
0 files changed, 0 insertions, 0 deletions