Chromium Code Reviews
DescriptionDevTools: allow codemirror softundo to work on readonly files
When entering a keyboard shortcut into a read-only doc, CodeMirror's
default functionality is to set a 'suppressEdits' flag preventing
actions like soft undo (Cmd+U) before letting DevTools handle the
event. This CL adds a workaround for softundo in read-only files.
BUG=618803
Patch Set 1 #Patch Set 2 : Remove unnecessary callback #
Total comments: 2
Patch Set 3 : Add missing test for preserving readOnly #
Total comments: 2
Messages
Total messages: 8 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||