Changeset 206426 in webkit
- Timestamp:
- Sep 27, 2016 2:27:28 AM (8 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r206406 r206426 1 2016-09-27 Tomas Popela <tpopela@redhat.com> 2 3 [GTK] Mac defaults are used for key shortcuts on Linux 4 https://bugs.webkit.org/show_bug.cgi?id=162564 5 6 Don't set Mac's default keymap as a fallthrough for CodeMirror when we 7 are not on Mac. 8 9 Reviewed by Carlos Garcia Campos. 10 11 * UserInterface/Test.html: Include Platform.js for the 12 WebInspector.Platform definition. 13 * UserInterface/Views/CodeMirrorAdditions.js: 14 1 15 2016-09-26 Matt Baker <mattbaker@apple.com> 2 16 -
trunk/Source/WebInspectorUI/UserInterface/Test.html
r205754 r206426 38 38 <script src="Base/WebInspector.js"></script> 39 39 <script src="Base/InspectorFrontendHostStub.js"></script> 40 <script src="Base/Platform.js"></script> 40 41 <script src="Base/LinkedList.js"></script> 41 42 <script src="Base/ListMultimap.js"></script> -
trunk/Source/WebInspectorUI/UserInterface/Views/CodeMirrorAdditions.js
r205425 r206426 573 573 }); 574 574 575 let mac = WebInspector.Platform.name === "mac"; 576 575 577 CodeMirror.keyMap["default"] = { 576 578 "Alt-Up": alterNumber.bind(null, 1), … … 587 589 "Cmd-D": "selectNextOccurrence", 588 590 "Shift-Tab": "indentLess", 589 fallthrough: "macDefault"591 fallthrough: mac ? "macDefault" : "pcDefault" 590 592 }; 591 593
Note: See TracChangeset
for help on using the changeset viewer.