Chromium Code Reviews
DescriptionA quick fix for Issue 18708.
This issue is caused by our WebKit API code that treats the control+enter keys as a keypress of character '\r'.
Both IE and Firefox treat control+enter keys as a keypress of character '\n'. Google Spreadsheet inserts one line-break for character '\n' and two line-breaks for character '\r'.
To solve this issue, this change emulates the above behavior of IE and Firefox.
BUG=18708
"CTRL+enter within a cell inserts two linebreaks"
TEST=Type control+enter keys in Google Spreadsheet, and see it inserts only one line-break.
Patch Set 1 #Patch Set 2 : '' #Messages
Total messages: 5 (0 generated)
|