Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/text_editor/module.json |
| diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/module.json b/third_party/WebKit/Source/devtools/front_end/text_editor/module.json |
| similarity index 60% |
| copy from third_party/WebKit/Source/devtools/front_end/source_frame/module.json |
| copy to third_party/WebKit/Source/devtools/front_end/text_editor/module.json |
| index 5a8c232ef6c041740d4b63b3702cf11e46f1e5ff..2b26e1eb32064c3153d63b9bb0eed436cc530e42 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/source_frame/module.json |
| +++ b/third_party/WebKit/Source/devtools/front_end/text_editor/module.json |
| @@ -5,22 +5,12 @@ |
| "className": "WebInspector.CodeMirrorUtils" |
| }, |
| { |
| - "type": "@WebInspector.TokenizerFactory", |
| - "className": "WebInspector.CodeMirrorUtils.TokenizerFactory" |
| + "type": "@WebInspector.TextEditorFactory", |
| + "className": "WebInspector.CodeMirrorTextEditorFactory" |
|
lushnikov
2016/08/24 22:03:05
where is this factory?
einbinder
2016/08/24 22:26:10
Oops. It lives in an upcoming patch.
|
| }, |
| { |
| - "type": "setting", |
| - "category": "Sources", |
| - "title": "Default indentation:", |
| - "settingName": "textEditorIndent", |
| - "settingType": "enum", |
| - "defaultValue": " ", |
| - "options": [ |
| - { "title": "Set indentation to 2 spaces", "text": "2 spaces", "value": " " }, |
| - { "title": "Set indentation to 4 spaces", "text": "4 spaces", "value": " " }, |
| - { "title": "Set indentation to 8 spaces", "text": "8 spaces", "value": " " }, |
| - { "title": "Set indentation to tab character", "text": "Tab character", "value": "\t" } |
| - ] |
| + "type": "@WebInspector.TokenizerFactory", |
| + "className": "WebInspector.CodeMirrorUtils.TokenizerFactory" |
| } |
| ], |
| "dependencies": [ |
| @@ -35,22 +25,15 @@ |
| "../cm/multiplex.js", |
| "../cm/htmlmixed.js", |
| "../cm/htmlembedded.js", |
| - |
| "../cm/matchbrackets.js", |
| "../cm/closebrackets.js", |
| "../cm/markselection.js", |
| "../cm/comment.js", |
| "../cm/overlay.js", |
| "../cm/activeline.js", |
| - |
| "CodeMirrorUtils.js", |
| "TextEditorAutocompleteController.js", |
| - "CodeMirrorTextEditor.js", |
| - "SourcesTextEditor.js", |
| - "FontView.js", |
| - "ImageView.js", |
| - "SourceFrame.js", |
| - "ResourceSourceFrame.js" |
| + "CodeMirrorTextEditor.js" |
| ], |
| "skip_compilation": [ |
| "../cm/codemirror.js", |
| @@ -61,7 +44,6 @@ |
| "../cm/multiplex.js", |
| "../cm/htmlmixed.js", |
| "../cm/htmlembedded.js", |
| - |
| "../cm/matchbrackets.js", |
| "../cm/closebrackets.js", |
| "../cm/markselection.js", |
| @@ -71,8 +53,6 @@ |
| ], |
| "resources": [ |
| "../cm/codemirror.css", |
| - "cmdevtools.css", |
| - "fontView.css", |
| - "imageView.css" |
| + "cmdevtools.css" |
| ] |
| -} |
| +} |