Comment #6 on issue 19680 by [email protected]: Ctrl-left & right does not  
work correctly in text fields
http://code.google.com/p/chromium/issues/detail?id=19680

jeremy,

To look at this issue with my macbook recovered today, it seems Mac OS  
sends an edit command "MoveLeft" (or "MoveRight") even when we type  
control+left
keys (or control+right keys), respectively. So, our  
RWHVMEditCommandSelector responds it (before  
-RenderWidgetHostViewMac:keyEvent responds it) and
sends these edit commands. (
Even though I'm not sure why Mac OS sends an edit command "MoveLeft"  
or "MoveRight, the quick fix for this issue is:
1. Removing "MoveLeft" and "MoveRight" from kEditCommands[]  
in "browser/cocoa/rwhvm_editcommand_helper.cc", and;
2. Adding a mapping from control+left keys to "MoveToBeginnningOfLine" (and  
one from control+right keys to "MoveToEndOfLine") to keyDownEntries[] in
"webkit/glue/editor_client_impl.cc".

Is it possible to give me your opinions?

Regards,

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to