OLD | NEW |
---|---|
1 { | 1 { |
2 "extensions": [ | 2 "extensions": [ |
3 { | 3 { |
4 "type": "@WebInspector.InplaceEditor", | 4 "type": "@WebInspector.InplaceEditor", |
5 "className": "WebInspector.CodeMirrorUtils" | 5 "className": "WebInspector.CodeMirrorUtils" |
6 }, | 6 }, |
7 { | 7 { |
8 "type": "@WebInspector.TextEditorFactory", | |
9 "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.
| |
10 }, | |
11 { | |
8 "type": "@WebInspector.TokenizerFactory", | 12 "type": "@WebInspector.TokenizerFactory", |
9 "className": "WebInspector.CodeMirrorUtils.TokenizerFactory" | 13 "className": "WebInspector.CodeMirrorUtils.TokenizerFactory" |
10 }, | |
11 { | |
12 "type": "setting", | |
13 "category": "Sources", | |
14 "title": "Default indentation:", | |
15 "settingName": "textEditorIndent", | |
16 "settingType": "enum", | |
17 "defaultValue": " ", | |
18 "options": [ | |
19 { "title": "Set indentation to 2 spaces", "text": "2 spaces", "v alue": " " }, | |
20 { "title": "Set indentation to 4 spaces", "text": "4 spaces", "v alue": " " }, | |
21 { "title": "Set indentation to 8 spaces", "text": "8 spaces", "v alue": " " }, | |
22 { "title": "Set indentation to tab character", "text": "Tab char acter", "value": "\t" } | |
23 ] | |
24 } | 14 } |
25 ], | 15 ], |
26 "dependencies": [ | 16 "dependencies": [ |
27 "components" | 17 "components" |
28 ], | 18 ], |
29 "scripts": [ | 19 "scripts": [ |
30 "../cm/codemirror.js", | 20 "../cm/codemirror.js", |
31 "../cm/css.js", | 21 "../cm/css.js", |
32 "../cm/javascript.js", | 22 "../cm/javascript.js", |
33 "../cm/simple.js", | 23 "../cm/simple.js", |
34 "../cm/xml.js", | 24 "../cm/xml.js", |
35 "../cm/multiplex.js", | 25 "../cm/multiplex.js", |
36 "../cm/htmlmixed.js", | 26 "../cm/htmlmixed.js", |
37 "../cm/htmlembedded.js", | 27 "../cm/htmlembedded.js", |
38 | |
39 "../cm/matchbrackets.js", | 28 "../cm/matchbrackets.js", |
40 "../cm/closebrackets.js", | 29 "../cm/closebrackets.js", |
41 "../cm/markselection.js", | 30 "../cm/markselection.js", |
42 "../cm/comment.js", | 31 "../cm/comment.js", |
43 "../cm/overlay.js", | 32 "../cm/overlay.js", |
44 "../cm/activeline.js", | 33 "../cm/activeline.js", |
45 | |
46 "CodeMirrorUtils.js", | 34 "CodeMirrorUtils.js", |
47 "TextEditorAutocompleteController.js", | 35 "TextEditorAutocompleteController.js", |
48 "CodeMirrorTextEditor.js", | 36 "CodeMirrorTextEditor.js" |
49 "SourcesTextEditor.js", | |
50 "FontView.js", | |
51 "ImageView.js", | |
52 "SourceFrame.js", | |
53 "ResourceSourceFrame.js" | |
54 ], | 37 ], |
55 "skip_compilation": [ | 38 "skip_compilation": [ |
56 "../cm/codemirror.js", | 39 "../cm/codemirror.js", |
57 "../cm/css.js", | 40 "../cm/css.js", |
58 "../cm/javascript.js", | 41 "../cm/javascript.js", |
59 "../cm/simple.js", | 42 "../cm/simple.js", |
60 "../cm/xml.js", | 43 "../cm/xml.js", |
61 "../cm/multiplex.js", | 44 "../cm/multiplex.js", |
62 "../cm/htmlmixed.js", | 45 "../cm/htmlmixed.js", |
63 "../cm/htmlembedded.js", | 46 "../cm/htmlembedded.js", |
64 | |
65 "../cm/matchbrackets.js", | 47 "../cm/matchbrackets.js", |
66 "../cm/closebrackets.js", | 48 "../cm/closebrackets.js", |
67 "../cm/markselection.js", | 49 "../cm/markselection.js", |
68 "../cm/comment.js", | 50 "../cm/comment.js", |
69 "../cm/overlay.js", | 51 "../cm/overlay.js", |
70 "../cm/activeline.js" | 52 "../cm/activeline.js" |
71 ], | 53 ], |
72 "resources": [ | 54 "resources": [ |
73 "../cm/codemirror.css", | 55 "../cm/codemirror.css", |
74 "cmdevtools.css", | 56 "cmdevtools.css" |
75 "fontView.css", | |
76 "imageView.css" | |
77 ] | 57 ] |
78 } | 58 } |
OLD | NEW |