| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 'Cmd-Z': 'undoAndReveal', | 105 'Cmd-Z': 'undoAndReveal', |
| 106 'Shift-Cmd-Z': 'redoAndReveal', | 106 'Shift-Cmd-Z': 'redoAndReveal', |
| 107 'Cmd-Up': 'goDocStart', | 107 'Cmd-Up': 'goDocStart', |
| 108 'Cmd-Down': 'goDocEnd', | 108 'Cmd-Down': 'goDocEnd', |
| 109 'Alt-Left': 'goGroupLeft', | 109 'Alt-Left': 'goGroupLeft', |
| 110 'Alt-Right': 'goGroupRight', | 110 'Alt-Right': 'goGroupRight', |
| 111 'Ctrl-Left': 'moveCamelLeft', | 111 'Ctrl-Left': 'moveCamelLeft', |
| 112 'Ctrl-Right': 'moveCamelRight', | 112 'Ctrl-Right': 'moveCamelRight', |
| 113 'Ctrl-A': 'goLineLeft', | 113 'Ctrl-A': 'goLineLeft', |
| 114 'Ctrl-E': 'goLineRight', | 114 'Ctrl-E': 'goLineRight', |
| 115 'Ctrl-B': 'goCharLeft', |
| 116 'Ctrl-F': 'goCharRight', |
| 117 'Ctrl-Alt-B': 'goGroupLeft', |
| 118 'Ctrl-Alt-F': 'goGroupRight', |
| 119 'Ctrl-H': 'delCharBefore', |
| 120 'Ctrl-D': 'delCharAfter', |
| 121 'Ctrl-K': 'killLine', |
| 122 'Ctrl-T': 'transposeChars', |
| 115 'Shift-Ctrl-Left': 'selectCamelLeft', | 123 'Shift-Ctrl-Left': 'selectCamelLeft', |
| 116 'Shift-Ctrl-Right': 'selectCamelRight', | 124 'Shift-Ctrl-Right': 'selectCamelRight', |
| 117 'Cmd-Left': 'goLineStartSmart', | 125 'Cmd-Left': 'goLineStartSmart', |
| 118 'Cmd-Right': 'goLineEnd', | 126 'Cmd-Right': 'goLineEnd', |
| 119 'Cmd-Backspace': 'delLineLeft', | 127 'Cmd-Backspace': 'delLineLeft', |
| 120 'Alt-Backspace': 'delGroupBefore', | 128 'Alt-Backspace': 'delGroupBefore', |
| 121 'Alt-Delete': 'delGroupAfter', | 129 'Alt-Delete': 'delGroupAfter', |
| 122 'Cmd-/': 'toggleComment', | 130 'Cmd-/': 'toggleComment', |
| 123 'Cmd-D': 'selectNextOccurrence', | 131 'Cmd-D': 'selectNextOccurrence', |
| 124 'Cmd-U': 'undoLastSelection', | 132 'Cmd-U': 'undoLastSelection', |
| (...skipping 1526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1651 TextEditor.CodeMirrorTextEditorFactory = class { | 1659 TextEditor.CodeMirrorTextEditorFactory = class { |
| 1652 /** | 1660 /** |
| 1653 * @override | 1661 * @override |
| 1654 * @param {!UI.TextEditor.Options} options | 1662 * @param {!UI.TextEditor.Options} options |
| 1655 * @return {!TextEditor.CodeMirrorTextEditor} | 1663 * @return {!TextEditor.CodeMirrorTextEditor} |
| 1656 */ | 1664 */ |
| 1657 createEditor(options) { | 1665 createEditor(options) { |
| 1658 return new TextEditor.CodeMirrorTextEditor(options); | 1666 return new TextEditor.CodeMirrorTextEditor(options); |
| 1659 } | 1667 } |
| 1660 }; | 1668 }; |
| OLD | NEW |