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