redcar 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +28 -0
- data/README.md +7 -0
- data/ROADMAP.md +11 -1
- data/Rakefile +61 -2
- data/bin/redcar +2 -1
- data/lib/redcar.rb +4 -3
- data/lib/redcar/installer.rb +3 -1
- data/lib/redcar/runner.rb +1 -1
- data/lib/redcar/usage.rb +4 -7
- data/lib/redcar_quick_start.rb +39 -5
- data/plugins/application/features/step_definitions/tree_steps.rb +6 -0
- data/plugins/application/features/support/env.rb +2 -6
- data/plugins/application/icons/redcar_icon_beta_dev.png +0 -0
- data/plugins/application/lib/application/command/executor.rb +8 -0
- data/plugins/application/lib/application/dialog.rb +25 -2
- data/plugins/application/lib/application/notebook.rb +4 -0
- data/plugins/application/lib/application/window.rb +4 -0
- data/plugins/application_swt/lib/application_swt.rb +2 -0
- data/plugins/application_swt/lib/application_swt/dialog_adapter.rb +28 -1
- data/plugins/application_swt/lib/application_swt/menu.rb +4 -0
- data/plugins/application_swt/lib/application_swt/menu/binding_translator.rb +4 -0
- data/plugins/application_swt/lib/application_swt/notebook.rb +22 -1
- data/plugins/application_swt/lib/application_swt/notebook/tab_drag_and_drop_listener.rb +124 -0
- data/plugins/application_swt/lib/application_swt/notebook/tab_transfer.rb +83 -0
- data/plugins/application_swt/lib/application_swt/swt_wrapper.rb +14 -0
- data/plugins/application_swt/lib/application_swt/tab.rb +28 -6
- data/plugins/application_swt/lib/application_swt/window.rb +88 -43
- data/plugins/application_swt/spec/application_swt/menu/binding_translator_spec.rb +11 -0
- data/plugins/application_swt/spec/spec_helper.rb +1 -1
- data/plugins/auto_completer/lib/auto_completer.rb +3 -20
- data/plugins/auto_pairer/lib/auto_pairer/document_controller.rb +1 -1
- data/plugins/declarations/lib/declarations/parser.rb +2 -2
- data/plugins/declarations/spec/spec_helper.rb +1 -0
- data/plugins/edit_view/features/step_definitions/notebook_steps.rb +3 -3
- data/plugins/edit_view/features/step_definitions/window_steps.rb +24 -9
- data/plugins/edit_view/features/support/env.rb +11 -9
- data/plugins/edit_view/lib/edit_view.rb +106 -6
- data/plugins/edit_view/lib/edit_view/info_speedbar.rb +32 -3
- data/plugins/edit_view/lib/edit_view/select_font_dialog.rb +39 -0
- data/plugins/edit_view/lib/edit_view/select_theme_dialog.rb +34 -0
- data/plugins/edit_view/lib/edit_view/tab_settings.rb +103 -8
- data/plugins/edit_view_swt/lib/edit_view_swt.rb +40 -3
- data/plugins/edit_view_swt/lib/edit_view_swt/edit_tab.rb +1 -1
- data/plugins/execute_current_tab/lib/execute_current_tab.rb +15 -6
- data/plugins/project/features/open_directory_tree.feature +10 -0
- data/plugins/project/lib/project.rb +10 -8
- data/plugins/project/lib/project/dir_mirror.rb +6 -5
- data/plugins/project/lib/project/drb_service.rb +16 -0
- data/plugins/project/lib/project/manager.rb +31 -5
- data/plugins/redcar/redcar.rb +115 -19
- data/plugins/tree_view_swt/lib/tree_view_swt.rb +15 -0
- data/textmate/Bundles/Cucumber.tmbundle/Preferences/Cucumber_Plain_Text_Feature_Completions.tmPreferences +3 -3
- data/textmate/Bundles/Cucumber.tmbundle/Preferences/Symbol_list___Scenario.tmPreferences +1 -1
- data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/Cucumber_Plain_Text_Feature.tmLanguage +18 -76
- data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/Cucumber_Steps.tmLanguage +1 -1
- data/textmate/Bundles/Palm-WebOS-Development.tmbundle/Snippets/Animation_animateStyle.tmSnippet +23 -0
- data/textmate/Bundles/Palm-WebOS-Development.tmbundle/Snippets/Event_listen.tmSnippet +16 -0
- data/textmate/Bundles/{Cucumber.tmbundle/Snippets/When_Step_Plaintext.tmSnippet → Palm-WebOS-Development.tmbundle/Snippets/Event_stop.tmSnippet} +5 -5
- data/textmate/Bundles/{Cucumber.tmbundle/Snippets/Then_Step.tmSnippet → Palm-WebOS-Development.tmbundle/Snippets/Event_stopListening.tmSnippet} +5 -9
- data/textmate/Bundles/{Cucumber.tmbundle/Snippets/Cucumber_Multiline_Steps.tmSnippet → Palm-WebOS-Development.tmbundle/Snippets/List_Model.tmSnippet} +10 -7
- data/textmate/Bundles/Palm-WebOS-Development.tmbundle/Snippets/Log_addLoggingMethodsToPrototype.tmSnippet +16 -0
- data/textmate/Bundles/{Cucumber.tmbundle/Snippets/Then_Step_Plaintext.tmSnippet → Palm-WebOS-Development.tmbundle/Snippets/Log_info.tmSnippet} +5 -5
- data/textmate/Bundles/{Cucumber.tmbundle/Snippets/Scenario___heading_only__.tmSnippet → Palm-WebOS-Development.tmbundle/Snippets/Log_logProperties.tmSnippet} +5 -7
- data/textmate/Bundles/{Cucumber.tmbundle/Snippets/When_Step.tmSnippet → Palm-WebOS-Development.tmbundle/Snippets/Model.tmSnippet} +7 -9
- data/textmate/Bundles/Palm-WebOS-Development.tmbundle/Snippets/__L____.tmSnippet +16 -0
- data/textmate/Bundles/Palm-WebOS-Development.tmbundle/Snippets/_insert____.tmSnippet +16 -0
- data/textmate/Bundles/Palm-WebOS-Development.tmbundle/Snippets/_update____.tmSnippet +16 -0
- data/textmate/Bundles/Palm-WebOS-Development.tmbundle/Snippets/controller_get.tmSnippet +16 -0
- data/textmate/Bundles/Palm-WebOS-Development.tmbundle/Snippets/controller_pushScene.tmSnippet +16 -0
- data/textmate/Bundles/Palm-WebOS-Development.tmbundle/Snippets/controller_serviceRequest.tmSnippet +21 -0
- data/textmate/Bundles/{Cucumber.tmbundle/Snippets/Scenario_Outline.tmSnippet → Palm-WebOS-Development.tmbundle/Snippets/controller_setupWidget.tmSnippet} +5 -9
- data/textmate/Bundles/{Cucumber.tmbundle/Snippets/Given_Step.tmSnippet → Palm-WebOS-Development.tmbundle/Snippets/controller_showBanner.tmSnippet} +5 -9
- data/textmate/Bundles/Palm-WebOS-Development.tmbundle/Syntaxes/Mojo.tmLanguage +713 -0
- data/textmate/Bundles/Palm-WebOS-Development.tmbundle/info.plist +188 -0
- data/textmate/Bundles/Smalltalk.tmbundle/Preferences/GNU_Smalltalk.tmPreferences +32 -0
- data/textmate/Bundles/{asciidoc.tmbundle/Preferences/Symbol_List___Heading.tmPreferences → Smalltalk.tmbundle/Preferences/GNU___Symbol_List___Method.tmPreferences} +7 -6
- data/textmate/Bundles/{Cucumber.tmbundle/Preferences/next_Symbol_list___Scenario.tmPreferences → Smalltalk.tmbundle/Preferences/GNU___Symbol_List___Section.tmPreferences} +7 -4
- data/textmate/Bundles/{asciidoc.tmbundle/Snippets/Bold.tmSnippet → Smalltalk.tmbundle/Preferences/MIST_Smalltalk_Format.tmPreferences} +8 -7
- data/textmate/Bundles/Smalltalk.tmbundle/Syntaxes/GNU_Smalltalk.tmLanguage +493 -0
- data/textmate/Bundles/Smalltalk.tmbundle/Syntaxes/GNU_Smalltalk_2.tmLanguage +807 -0
- data/textmate/Bundles/Smalltalk.tmbundle/Syntaxes/MIST_Smalltalk_Format.tmLanguage +645 -0
- data/textmate/Bundles/Smalltalk.tmbundle/info.plist +21 -0
- data/textmate/Themes/Twilight.tmTheme +4 -0
- metadata +2604 -2586
- data/textmate/Bundles/Cucumber.tmbundle/Preferences/next_Cucumber_Plain_Text_Feature_Completions.tmPreferences +0 -30
- data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/next_Cucumber_Plain_Text_Feature.tmLanguage +0 -221
- data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/next_Cucumber_Steps.tmLanguage +0 -424
- data/textmate/Bundles/asciidoc.tmbundle/Preferences/Typing_Pairs___Defaults.tmPreferences +0 -54
- data/textmate/Bundles/asciidoc.tmbundle/Snippets/Anchor.tmSnippet +0 -16
- data/textmate/Bundles/asciidoc.tmbundle/Snippets/Comment_Block.tmSnippet +0 -19
- data/textmate/Bundles/asciidoc.tmbundle/Snippets/Example_Block.tmSnippet +0 -19
- data/textmate/Bundles/asciidoc.tmbundle/Snippets/Italic.tmSnippet +0 -16
- data/textmate/Bundles/asciidoc.tmbundle/Snippets/Listing_Block.tmSnippet +0 -20
- data/textmate/Bundles/asciidoc.tmbundle/Snippets/Literal_Block.tmSnippet +0 -19
- data/textmate/Bundles/asciidoc.tmbundle/Snippets/Passthrough_Block.tmSnippet +0 -19
- data/textmate/Bundles/asciidoc.tmbundle/Snippets/Quote_Block.tmSnippet +0 -19
- data/textmate/Bundles/asciidoc.tmbundle/Snippets/Quoted.tmSnippet +0 -16
- data/textmate/Bundles/asciidoc.tmbundle/Snippets/Sidebar_Block.tmSnippet +0 -19
- data/textmate/Bundles/asciidoc.tmbundle/Snippets/Subscript.tmSnippet +0 -16
- data/textmate/Bundles/asciidoc.tmbundle/Snippets/Superscript.tmSnippet +0 -16
- data/textmate/Bundles/asciidoc.tmbundle/Syntaxes/AsciiDoc.tmLanguage +0 -428
- data/textmate/Bundles/asciidoc.tmbundle/info.plist +0 -91
data/textmate/Bundles/Palm-WebOS-Development.tmbundle/Snippets/Animation_animateStyle.tmSnippet
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>content</key>
|
6
|
+
<string>Mojo.Animation.animateStyle($1, '${2:left}', '${3:linear}', {
|
7
|
+
from: ${4:300},
|
8
|
+
to: ${5:toLeft},
|
9
|
+
duration: ${6:leftShrinkDuration},
|
10
|
+
onComplete: function() {
|
11
|
+
}
|
12
|
+
}
|
13
|
+
});</string>
|
14
|
+
<key>name</key>
|
15
|
+
<string>Animation.animateStyle</string>
|
16
|
+
<key>scope</key>
|
17
|
+
<string>source.js</string>
|
18
|
+
<key>tabTrigger</key>
|
19
|
+
<string>aastyle</string>
|
20
|
+
<key>uuid</key>
|
21
|
+
<string>8B2C1225-9D25-4252-9A48-106227F3D972</string>
|
22
|
+
</dict>
|
23
|
+
</plist>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>content</key>
|
6
|
+
<string>Mojo.Event.listen($('$1'),Mojo.Event.$2, this.$3.bindAsEventListener(this))</string>
|
7
|
+
<key>name</key>
|
8
|
+
<string>Event.listen</string>
|
9
|
+
<key>scope</key>
|
10
|
+
<string>source.js</string>
|
11
|
+
<key>tabTrigger</key>
|
12
|
+
<string>elisten</string>
|
13
|
+
<key>uuid</key>
|
14
|
+
<string>343F6774-A9DE-4142-8588-D2CB30CD8287</string>
|
15
|
+
</dict>
|
16
|
+
</plist>
|
@@ -3,14 +3,14 @@
|
|
3
3
|
<plist version="1.0">
|
4
4
|
<dict>
|
5
5
|
<key>content</key>
|
6
|
-
<string>
|
6
|
+
<string>Event.stop(${1:event})</string>
|
7
7
|
<key>name</key>
|
8
|
-
<string>
|
8
|
+
<string>Event.stop</string>
|
9
9
|
<key>scope</key>
|
10
|
-
<string>
|
10
|
+
<string>source.js</string>
|
11
11
|
<key>tabTrigger</key>
|
12
|
-
<string>
|
12
|
+
<string>estp</string>
|
13
13
|
<key>uuid</key>
|
14
|
-
<string>
|
14
|
+
<string>6FCD509A-46E1-4A63-A331-4022E9D1C81E</string>
|
15
15
|
</dict>
|
16
16
|
</plist>
|
@@ -3,18 +3,14 @@
|
|
3
3
|
<plist version="1.0">
|
4
4
|
<dict>
|
5
5
|
<key>content</key>
|
6
|
-
<string>
|
7
|
-
$0
|
8
|
-
end
|
9
|
-
|
10
|
-
</string>
|
6
|
+
<string>Mojo.Event.stopListening($1, Mojo.Event.$2, $3, ${4:true})</string>
|
11
7
|
<key>name</key>
|
12
|
-
<string>
|
8
|
+
<string>Event.stopListening</string>
|
13
9
|
<key>scope</key>
|
14
|
-
<string>source.
|
10
|
+
<string>source.js</string>
|
15
11
|
<key>tabTrigger</key>
|
16
|
-
<string>
|
12
|
+
<string>estpl</string>
|
17
13
|
<key>uuid</key>
|
18
|
-
<string>
|
14
|
+
<string>4B2E64F1-C454-4564-A852-2EC543FD1F40</string>
|
19
15
|
</dict>
|
20
16
|
</plist>
|
@@ -3,16 +3,19 @@
|
|
3
3
|
<plist version="1.0">
|
4
4
|
<dict>
|
5
5
|
<key>content</key>
|
6
|
-
<string>
|
7
|
-
$
|
8
|
-
|
6
|
+
<string>this.$1 = {
|
7
|
+
listTitle: $L('$2'),
|
8
|
+
items : [
|
9
|
+
{${3:name}:$L("$4"), ${5:value}:"$6"}
|
10
|
+
]
|
11
|
+
};</string>
|
9
12
|
<key>name</key>
|
10
|
-
<string>
|
13
|
+
<string>List Model</string>
|
11
14
|
<key>scope</key>
|
12
|
-
<string>source.
|
15
|
+
<string>source.js</string>
|
13
16
|
<key>tabTrigger</key>
|
14
|
-
<string>
|
17
|
+
<string>lmodel</string>
|
15
18
|
<key>uuid</key>
|
16
|
-
<string>
|
19
|
+
<string>BF3F835B-C3CF-43FA-9408-4AEA44B598BD</string>
|
17
20
|
</dict>
|
18
21
|
</plist>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>content</key>
|
6
|
+
<string>Mojo.Log.addLoggingMethodsToPrototype(${1:LoggingAssistant})</string>
|
7
|
+
<key>name</key>
|
8
|
+
<string>Log.addLoggingMethodsToPrototype</string>
|
9
|
+
<key>scope</key>
|
10
|
+
<string>source.js</string>
|
11
|
+
<key>tabTrigger</key>
|
12
|
+
<string>ladd</string>
|
13
|
+
<key>uuid</key>
|
14
|
+
<string>8B4AF5F2-7F3D-4A31-886F-80160E9ECB55</string>
|
15
|
+
</dict>
|
16
|
+
</plist>
|
@@ -3,14 +3,14 @@
|
|
3
3
|
<plist version="1.0">
|
4
4
|
<dict>
|
5
5
|
<key>content</key>
|
6
|
-
<string>
|
6
|
+
<string>Mojo.Log.info("$1")</string>
|
7
7
|
<key>name</key>
|
8
|
-
<string>
|
8
|
+
<string>Log.info</string>
|
9
9
|
<key>scope</key>
|
10
|
-
<string>
|
10
|
+
<string>source.js</string>
|
11
11
|
<key>tabTrigger</key>
|
12
|
-
<string>
|
12
|
+
<string>linfo</string>
|
13
13
|
<key>uuid</key>
|
14
|
-
<string>
|
14
|
+
<string>946BC809-5F94-4702-B0A5-3144B186E6B0</string>
|
15
15
|
</dict>
|
16
16
|
</plist>
|
@@ -3,16 +3,14 @@
|
|
3
3
|
<plist version="1.0">
|
4
4
|
<dict>
|
5
5
|
<key>content</key>
|
6
|
-
<string>
|
7
|
-
$0
|
8
|
-
</string>
|
6
|
+
<string>Mojo.Log.logProperties($1, ${2:false})</string>
|
9
7
|
<key>name</key>
|
10
|
-
<string>
|
8
|
+
<string>Log.logProperties</string>
|
11
9
|
<key>scope</key>
|
12
|
-
<string>
|
10
|
+
<string>source.js</string>
|
13
11
|
<key>tabTrigger</key>
|
14
|
-
<string>
|
12
|
+
<string>lprop</string>
|
15
13
|
<key>uuid</key>
|
16
|
-
<string>
|
14
|
+
<string>05DFBAFC-3460-412A-9600-369FB8BFAB94</string>
|
17
15
|
</dict>
|
18
16
|
</plist>
|
@@ -3,18 +3,16 @@
|
|
3
3
|
<plist version="1.0">
|
4
4
|
<dict>
|
5
5
|
<key>content</key>
|
6
|
-
<string>
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
</string>
|
6
|
+
<string>this.$1 = {
|
7
|
+
"$2" : "$3"
|
8
|
+
};</string>
|
11
9
|
<key>name</key>
|
12
|
-
<string>
|
10
|
+
<string>Model</string>
|
13
11
|
<key>scope</key>
|
14
|
-
<string>source.
|
12
|
+
<string>source.js</string>
|
15
13
|
<key>tabTrigger</key>
|
16
|
-
<string>
|
14
|
+
<string>model</string>
|
17
15
|
<key>uuid</key>
|
18
|
-
<string>
|
16
|
+
<string>5B88929B-04C8-43A5-8B1B-F945D1959C7F</string>
|
19
17
|
</dict>
|
20
18
|
</plist>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>content</key>
|
6
|
+
<string>$L('$1')</string>
|
7
|
+
<key>name</key>
|
8
|
+
<string>$L()</string>
|
9
|
+
<key>scope</key>
|
10
|
+
<string>source.js</string>
|
11
|
+
<key>tabTrigger</key>
|
12
|
+
<string>ll</string>
|
13
|
+
<key>uuid</key>
|
14
|
+
<string>874504A2-D5A1-4EDE-A32E-EC5EF3280CCF</string>
|
15
|
+
</dict>
|
16
|
+
</plist>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>content</key>
|
6
|
+
<string>this.$1.insert($2)</string>
|
7
|
+
<key>name</key>
|
8
|
+
<string>.insert()</string>
|
9
|
+
<key>scope</key>
|
10
|
+
<string>source.js</string>
|
11
|
+
<key>tabTrigger</key>
|
12
|
+
<string>ins</string>
|
13
|
+
<key>uuid</key>
|
14
|
+
<string>F70E2A49-D6B1-4246-8CA6-65A339624B75</string>
|
15
|
+
</dict>
|
16
|
+
</plist>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>content</key>
|
6
|
+
<string>this.$1.update($2)</string>
|
7
|
+
<key>name</key>
|
8
|
+
<string>.update()</string>
|
9
|
+
<key>scope</key>
|
10
|
+
<string>source.js</string>
|
11
|
+
<key>tabTrigger</key>
|
12
|
+
<string>upd</string>
|
13
|
+
<key>uuid</key>
|
14
|
+
<string>43B8F4F0-3839-48D4-AAE6-B8791882E8CF</string>
|
15
|
+
</dict>
|
16
|
+
</plist>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>content</key>
|
6
|
+
<string>this.controller.get("$1")</string>
|
7
|
+
<key>name</key>
|
8
|
+
<string>controller.get</string>
|
9
|
+
<key>scope</key>
|
10
|
+
<string>source.js</string>
|
11
|
+
<key>tabTrigger</key>
|
12
|
+
<string>cget</string>
|
13
|
+
<key>uuid</key>
|
14
|
+
<string>61D89CCC-6C06-4BA7-A358-A55246525A0D</string>
|
15
|
+
</dict>
|
16
|
+
</plist>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>content</key>
|
6
|
+
<string>this.controller.pushScene("$1")</string>
|
7
|
+
<key>name</key>
|
8
|
+
<string>controller.pushScene</string>
|
9
|
+
<key>scope</key>
|
10
|
+
<string>source.js</string>
|
11
|
+
<key>tabTrigger</key>
|
12
|
+
<string>cpush</string>
|
13
|
+
<key>uuid</key>
|
14
|
+
<string>E23E4E87-ECBF-489C-A56A-C37E1A61D814</string>
|
15
|
+
</dict>
|
16
|
+
</plist>
|
data/textmate/Bundles/Palm-WebOS-Development.tmbundle/Snippets/controller_serviceRequest.tmSnippet
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>content</key>
|
6
|
+
<string>this.controller.serviceRequest('${1:palm://com.palm.applicationManager}', {
|
7
|
+
method:'${2:open}',
|
8
|
+
parameters: {
|
9
|
+
target: "$3"
|
10
|
+
}
|
11
|
+
});</string>
|
12
|
+
<key>name</key>
|
13
|
+
<string>controller.serviceRequest</string>
|
14
|
+
<key>scope</key>
|
15
|
+
<string>source.js</string>
|
16
|
+
<key>tabTrigger</key>
|
17
|
+
<string>csr</string>
|
18
|
+
<key>uuid</key>
|
19
|
+
<string>94CC67B1-CA48-4D91-A129-154B73838663</string>
|
20
|
+
</dict>
|
21
|
+
</plist>
|
@@ -3,18 +3,14 @@
|
|
3
3
|
<plist version="1.0">
|
4
4
|
<dict>
|
5
5
|
<key>content</key>
|
6
|
-
<string>
|
7
|
-
Given ${2:context}
|
8
|
-
When ${3:event}
|
9
|
-
Then ${4:outcome}
|
10
|
-
</string>
|
6
|
+
<string>this.controller.setupWidget("${1:WidgetID}", ${2:this.widgetAttributes}, ${3:this.widgetModel})</string>
|
11
7
|
<key>name</key>
|
12
|
-
<string>
|
8
|
+
<string>controller.setupWidget</string>
|
13
9
|
<key>scope</key>
|
14
|
-
<string>
|
10
|
+
<string>source.js</string>
|
15
11
|
<key>tabTrigger</key>
|
16
|
-
<string>
|
12
|
+
<string>csetup</string>
|
17
13
|
<key>uuid</key>
|
18
|
-
<string>
|
14
|
+
<string>38974ECE-80A1-44A9-9568-3DB9F6D10C98</string>
|
19
15
|
</dict>
|
20
16
|
</plist>
|
@@ -3,18 +3,14 @@
|
|
3
3
|
<plist version="1.0">
|
4
4
|
<dict>
|
5
5
|
<key>content</key>
|
6
|
-
<string>
|
7
|
-
$0
|
8
|
-
end
|
9
|
-
|
10
|
-
</string>
|
6
|
+
<string>this.controller.showBanner(${1:notificationData.message}, {$2})</string>
|
11
7
|
<key>name</key>
|
12
|
-
<string>
|
8
|
+
<string>controller.showBanner</string>
|
13
9
|
<key>scope</key>
|
14
|
-
<string>source.
|
10
|
+
<string>source.js</string>
|
15
11
|
<key>tabTrigger</key>
|
16
|
-
<string>
|
12
|
+
<string>cbanner</string>
|
17
13
|
<key>uuid</key>
|
18
|
-
<string>
|
14
|
+
<string>7FEE9B34-3E1A-4760-B274-DF9E36586ED9</string>
|
19
15
|
</dict>
|
20
16
|
</plist>
|
@@ -0,0 +1,713 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>comment</key>
|
6
|
+
<string>Mojo Syntax</string>
|
7
|
+
<key>fileTypes</key>
|
8
|
+
<array>
|
9
|
+
<string>js</string>
|
10
|
+
<string>htc</string>
|
11
|
+
<string>jsx</string>
|
12
|
+
<string>sj</string>
|
13
|
+
</array>
|
14
|
+
<key>foldingStartMarker</key>
|
15
|
+
<string>^.*\bfunction\s*(\w+\s*)?\([^\)]*\)(\s*\{[^\}]*)?\s*$</string>
|
16
|
+
<key>foldingStopMarker</key>
|
17
|
+
<string>^\s*\}</string>
|
18
|
+
<key>keyEquivalent</key>
|
19
|
+
<string>^~M</string>
|
20
|
+
<key>name</key>
|
21
|
+
<string>Mojo</string>
|
22
|
+
<key>patterns</key>
|
23
|
+
<array>
|
24
|
+
<dict>
|
25
|
+
<key>captures</key>
|
26
|
+
<dict>
|
27
|
+
<key>1</key>
|
28
|
+
<dict>
|
29
|
+
<key>name</key>
|
30
|
+
<string>support.class.js</string>
|
31
|
+
</dict>
|
32
|
+
<key>2</key>
|
33
|
+
<dict>
|
34
|
+
<key>name</key>
|
35
|
+
<string>support.constant.js</string>
|
36
|
+
</dict>
|
37
|
+
<key>3</key>
|
38
|
+
<dict>
|
39
|
+
<key>name</key>
|
40
|
+
<string>keyword.operator.js</string>
|
41
|
+
</dict>
|
42
|
+
</dict>
|
43
|
+
<key>comment</key>
|
44
|
+
<string>match stuff like: Sound.prototype = { … } when extending an object</string>
|
45
|
+
<key>match</key>
|
46
|
+
<string>([a-zA-Z_?.$][\w?.$]*)\.(prototype)\s*(=)\s*</string>
|
47
|
+
<key>name</key>
|
48
|
+
<string>meta.class.js</string>
|
49
|
+
</dict>
|
50
|
+
<dict>
|
51
|
+
<key>captures</key>
|
52
|
+
<dict>
|
53
|
+
<key>1</key>
|
54
|
+
<dict>
|
55
|
+
<key>name</key>
|
56
|
+
<string>support.class.js</string>
|
57
|
+
</dict>
|
58
|
+
<key>2</key>
|
59
|
+
<dict>
|
60
|
+
<key>name</key>
|
61
|
+
<string>support.constant.js</string>
|
62
|
+
</dict>
|
63
|
+
<key>3</key>
|
64
|
+
<dict>
|
65
|
+
<key>name</key>
|
66
|
+
<string>entity.name.function.js</string>
|
67
|
+
</dict>
|
68
|
+
<key>4</key>
|
69
|
+
<dict>
|
70
|
+
<key>name</key>
|
71
|
+
<string>keyword.operator.js</string>
|
72
|
+
</dict>
|
73
|
+
<key>5</key>
|
74
|
+
<dict>
|
75
|
+
<key>name</key>
|
76
|
+
<string>storage.type.function.js</string>
|
77
|
+
</dict>
|
78
|
+
<key>6</key>
|
79
|
+
<dict>
|
80
|
+
<key>name</key>
|
81
|
+
<string>punctuation.definition.parameters.begin.js</string>
|
82
|
+
</dict>
|
83
|
+
<key>7</key>
|
84
|
+
<dict>
|
85
|
+
<key>name</key>
|
86
|
+
<string>variable.parameter.function.js</string>
|
87
|
+
</dict>
|
88
|
+
<key>8</key>
|
89
|
+
<dict>
|
90
|
+
<key>name</key>
|
91
|
+
<string>punctuation.definition.parameters.end.js</string>
|
92
|
+
</dict>
|
93
|
+
</dict>
|
94
|
+
<key>comment</key>
|
95
|
+
<string>match stuff like: Sound.prototype.play = function() { … }</string>
|
96
|
+
<key>match</key>
|
97
|
+
<string>([a-zA-Z_?.$][\w?.$]*)\.(prototype)\.([a-zA-Z_?.$][\w?.$]*)\s*(=)\s*(function)?\s*(\()(.*?)(\))</string>
|
98
|
+
<key>name</key>
|
99
|
+
<string>meta.function.prototype.js</string>
|
100
|
+
</dict>
|
101
|
+
<dict>
|
102
|
+
<key>captures</key>
|
103
|
+
<dict>
|
104
|
+
<key>1</key>
|
105
|
+
<dict>
|
106
|
+
<key>name</key>
|
107
|
+
<string>support.class.js</string>
|
108
|
+
</dict>
|
109
|
+
<key>2</key>
|
110
|
+
<dict>
|
111
|
+
<key>name</key>
|
112
|
+
<string>support.constant.js</string>
|
113
|
+
</dict>
|
114
|
+
<key>3</key>
|
115
|
+
<dict>
|
116
|
+
<key>name</key>
|
117
|
+
<string>entity.name.function.js</string>
|
118
|
+
</dict>
|
119
|
+
<key>4</key>
|
120
|
+
<dict>
|
121
|
+
<key>name</key>
|
122
|
+
<string>keyword.operator.js</string>
|
123
|
+
</dict>
|
124
|
+
</dict>
|
125
|
+
<key>comment</key>
|
126
|
+
<string>match stuff like: Sound.prototype.play = myfunc</string>
|
127
|
+
<key>match</key>
|
128
|
+
<string>([a-zA-Z_?.$][\w?.$]*)\.(prototype)\.([a-zA-Z_?.$][\w?.$]*)\s*(=)\s*</string>
|
129
|
+
<key>name</key>
|
130
|
+
<string>meta.function.js</string>
|
131
|
+
</dict>
|
132
|
+
<dict>
|
133
|
+
<key>captures</key>
|
134
|
+
<dict>
|
135
|
+
<key>1</key>
|
136
|
+
<dict>
|
137
|
+
<key>name</key>
|
138
|
+
<string>support.class.js</string>
|
139
|
+
</dict>
|
140
|
+
<key>2</key>
|
141
|
+
<dict>
|
142
|
+
<key>name</key>
|
143
|
+
<string>entity.name.function.js</string>
|
144
|
+
</dict>
|
145
|
+
<key>3</key>
|
146
|
+
<dict>
|
147
|
+
<key>name</key>
|
148
|
+
<string>keyword.operator.js</string>
|
149
|
+
</dict>
|
150
|
+
<key>4</key>
|
151
|
+
<dict>
|
152
|
+
<key>name</key>
|
153
|
+
<string>storage.type.function.js</string>
|
154
|
+
</dict>
|
155
|
+
<key>5</key>
|
156
|
+
<dict>
|
157
|
+
<key>name</key>
|
158
|
+
<string>punctuation.definition.parameters.begin.js</string>
|
159
|
+
</dict>
|
160
|
+
<key>6</key>
|
161
|
+
<dict>
|
162
|
+
<key>name</key>
|
163
|
+
<string>variable.parameter.function.js</string>
|
164
|
+
</dict>
|
165
|
+
<key>7</key>
|
166
|
+
<dict>
|
167
|
+
<key>name</key>
|
168
|
+
<string>punctuation.definition.parameters.end.js</string>
|
169
|
+
</dict>
|
170
|
+
</dict>
|
171
|
+
<key>comment</key>
|
172
|
+
<string>match stuff like: Sound.play = function() { … }</string>
|
173
|
+
<key>match</key>
|
174
|
+
<string>([a-zA-Z_?.$][\w?.$]*)\.([a-zA-Z_?.$][\w?.$]*)\s*(=)\s*(function)\s*(\()(.*?)(\))</string>
|
175
|
+
<key>name</key>
|
176
|
+
<string>meta.function.js</string>
|
177
|
+
</dict>
|
178
|
+
<dict>
|
179
|
+
<key>captures</key>
|
180
|
+
<dict>
|
181
|
+
<key>1</key>
|
182
|
+
<dict>
|
183
|
+
<key>name</key>
|
184
|
+
<string>entity.name.function.js</string>
|
185
|
+
</dict>
|
186
|
+
<key>2</key>
|
187
|
+
<dict>
|
188
|
+
<key>name</key>
|
189
|
+
<string>keyword.operator.js</string>
|
190
|
+
</dict>
|
191
|
+
<key>3</key>
|
192
|
+
<dict>
|
193
|
+
<key>name</key>
|
194
|
+
<string>storage.type.function.js</string>
|
195
|
+
</dict>
|
196
|
+
<key>4</key>
|
197
|
+
<dict>
|
198
|
+
<key>name</key>
|
199
|
+
<string>punctuation.definition.parameters.begin.js</string>
|
200
|
+
</dict>
|
201
|
+
<key>5</key>
|
202
|
+
<dict>
|
203
|
+
<key>name</key>
|
204
|
+
<string>variable.parameter.function.js</string>
|
205
|
+
</dict>
|
206
|
+
<key>6</key>
|
207
|
+
<dict>
|
208
|
+
<key>name</key>
|
209
|
+
<string>punctuation.definition.parameters.end.js</string>
|
210
|
+
</dict>
|
211
|
+
</dict>
|
212
|
+
<key>comment</key>
|
213
|
+
<string>match stuff like: play = function() { … }</string>
|
214
|
+
<key>match</key>
|
215
|
+
<string>([a-zA-Z_?$][\w?$]*)\s*(=)\s*(function)\s*(\()(.*?)(\))</string>
|
216
|
+
<key>name</key>
|
217
|
+
<string>meta.function.js</string>
|
218
|
+
</dict>
|
219
|
+
<dict>
|
220
|
+
<key>captures</key>
|
221
|
+
<dict>
|
222
|
+
<key>1</key>
|
223
|
+
<dict>
|
224
|
+
<key>name</key>
|
225
|
+
<string>storage.type.function.js</string>
|
226
|
+
</dict>
|
227
|
+
<key>2</key>
|
228
|
+
<dict>
|
229
|
+
<key>name</key>
|
230
|
+
<string>entity.name.function.js</string>
|
231
|
+
</dict>
|
232
|
+
<key>3</key>
|
233
|
+
<dict>
|
234
|
+
<key>name</key>
|
235
|
+
<string>punctuation.definition.parameters.begin.js</string>
|
236
|
+
</dict>
|
237
|
+
<key>4</key>
|
238
|
+
<dict>
|
239
|
+
<key>name</key>
|
240
|
+
<string>variable.parameter.function.js</string>
|
241
|
+
</dict>
|
242
|
+
<key>5</key>
|
243
|
+
<dict>
|
244
|
+
<key>name</key>
|
245
|
+
<string>punctuation.definition.parameters.end.js</string>
|
246
|
+
</dict>
|
247
|
+
</dict>
|
248
|
+
<key>comment</key>
|
249
|
+
<string>match regular function like: function myFunc(arg) { … }</string>
|
250
|
+
<key>match</key>
|
251
|
+
<string>\b(function)\s+([a-zA-Z_$]\w*)?\s*(\()(.*?)(\))</string>
|
252
|
+
<key>name</key>
|
253
|
+
<string>meta.function.js</string>
|
254
|
+
</dict>
|
255
|
+
<dict>
|
256
|
+
<key>captures</key>
|
257
|
+
<dict>
|
258
|
+
<key>1</key>
|
259
|
+
<dict>
|
260
|
+
<key>name</key>
|
261
|
+
<string>entity.name.function.js</string>
|
262
|
+
</dict>
|
263
|
+
<key>2</key>
|
264
|
+
<dict>
|
265
|
+
<key>name</key>
|
266
|
+
<string>storage.type.function.js</string>
|
267
|
+
</dict>
|
268
|
+
<key>3</key>
|
269
|
+
<dict>
|
270
|
+
<key>name</key>
|
271
|
+
<string>punctuation.definition.parameters.begin.js</string>
|
272
|
+
</dict>
|
273
|
+
<key>4</key>
|
274
|
+
<dict>
|
275
|
+
<key>name</key>
|
276
|
+
<string>variable.parameter.function.js</string>
|
277
|
+
</dict>
|
278
|
+
<key>5</key>
|
279
|
+
<dict>
|
280
|
+
<key>name</key>
|
281
|
+
<string>punctuation.definition.parameters.end.js</string>
|
282
|
+
</dict>
|
283
|
+
</dict>
|
284
|
+
<key>comment</key>
|
285
|
+
<string>match stuff like: foobar: function() { … }</string>
|
286
|
+
<key>match</key>
|
287
|
+
<string>\b([a-zA-Z_?.$][\w?.$]*)\s*:\s*\b(function)?\s*(\()(.*?)(\))</string>
|
288
|
+
<key>name</key>
|
289
|
+
<string>meta.function.json.js</string>
|
290
|
+
</dict>
|
291
|
+
<dict>
|
292
|
+
<key>captures</key>
|
293
|
+
<dict>
|
294
|
+
<key>1</key>
|
295
|
+
<dict>
|
296
|
+
<key>name</key>
|
297
|
+
<string>string.quoted.single.js</string>
|
298
|
+
</dict>
|
299
|
+
<key>10</key>
|
300
|
+
<dict>
|
301
|
+
<key>name</key>
|
302
|
+
<string>punctuation.definition.parameters.begin.js</string>
|
303
|
+
</dict>
|
304
|
+
<key>11</key>
|
305
|
+
<dict>
|
306
|
+
<key>name</key>
|
307
|
+
<string>variable.parameter.function.js</string>
|
308
|
+
</dict>
|
309
|
+
<key>12</key>
|
310
|
+
<dict>
|
311
|
+
<key>name</key>
|
312
|
+
<string>punctuation.definition.parameters.end.js</string>
|
313
|
+
</dict>
|
314
|
+
<key>2</key>
|
315
|
+
<dict>
|
316
|
+
<key>name</key>
|
317
|
+
<string>punctuation.definition.string.begin.js</string>
|
318
|
+
</dict>
|
319
|
+
<key>3</key>
|
320
|
+
<dict>
|
321
|
+
<key>name</key>
|
322
|
+
<string>entity.name.function.js</string>
|
323
|
+
</dict>
|
324
|
+
<key>4</key>
|
325
|
+
<dict>
|
326
|
+
<key>name</key>
|
327
|
+
<string>punctuation.definition.string.end.js</string>
|
328
|
+
</dict>
|
329
|
+
<key>5</key>
|
330
|
+
<dict>
|
331
|
+
<key>name</key>
|
332
|
+
<string>string.quoted.double.js</string>
|
333
|
+
</dict>
|
334
|
+
<key>6</key>
|
335
|
+
<dict>
|
336
|
+
<key>name</key>
|
337
|
+
<string>punctuation.definition.string.begin.js</string>
|
338
|
+
</dict>
|
339
|
+
<key>7</key>
|
340
|
+
<dict>
|
341
|
+
<key>name</key>
|
342
|
+
<string>entity.name.function.js</string>
|
343
|
+
</dict>
|
344
|
+
<key>8</key>
|
345
|
+
<dict>
|
346
|
+
<key>name</key>
|
347
|
+
<string>punctuation.definition.string.end.js</string>
|
348
|
+
</dict>
|
349
|
+
<key>9</key>
|
350
|
+
<dict>
|
351
|
+
<key>name</key>
|
352
|
+
<string>entity.name.function.js</string>
|
353
|
+
</dict>
|
354
|
+
</dict>
|
355
|
+
<key>comment</key>
|
356
|
+
<string>Attempt to match "foo": function</string>
|
357
|
+
<key>match</key>
|
358
|
+
<string>(?:((')(.*?)('))|((")(.*?)(")))\s*:\s*\b(function)?\s*(\()(.*?)(\))</string>
|
359
|
+
<key>name</key>
|
360
|
+
<string>meta.function.json.js</string>
|
361
|
+
</dict>
|
362
|
+
<dict>
|
363
|
+
<key>captures</key>
|
364
|
+
<dict>
|
365
|
+
<key>1</key>
|
366
|
+
<dict>
|
367
|
+
<key>name</key>
|
368
|
+
<string>keyword.operator.new.js</string>
|
369
|
+
</dict>
|
370
|
+
<key>2</key>
|
371
|
+
<dict>
|
372
|
+
<key>name</key>
|
373
|
+
<string>entity.name.type.instance.js</string>
|
374
|
+
</dict>
|
375
|
+
</dict>
|
376
|
+
<key>match</key>
|
377
|
+
<string>(new)\s+(\w+(?:\.\w*)?)</string>
|
378
|
+
<key>name</key>
|
379
|
+
<string>meta.class.instance.constructor</string>
|
380
|
+
</dict>
|
381
|
+
<dict>
|
382
|
+
<key>match</key>
|
383
|
+
<string>\b(console)\b</string>
|
384
|
+
<key>name</key>
|
385
|
+
<string>entity.name.type.object.js.firebug</string>
|
386
|
+
</dict>
|
387
|
+
<dict>
|
388
|
+
<key>match</key>
|
389
|
+
<string>\.(warn|info|log|error|time|timeEnd|assert)\b</string>
|
390
|
+
<key>name</key>
|
391
|
+
<string>support.function.js.firebug</string>
|
392
|
+
</dict>
|
393
|
+
<dict>
|
394
|
+
<key>match</key>
|
395
|
+
<string>\b((0(x|X)[0-9a-fA-F]+)|([0-9]+(\.[0-9]+)?))\b</string>
|
396
|
+
<key>name</key>
|
397
|
+
<string>constant.numeric.js</string>
|
398
|
+
</dict>
|
399
|
+
<dict>
|
400
|
+
<key>begin</key>
|
401
|
+
<string>'</string>
|
402
|
+
<key>beginCaptures</key>
|
403
|
+
<dict>
|
404
|
+
<key>0</key>
|
405
|
+
<dict>
|
406
|
+
<key>name</key>
|
407
|
+
<string>punctuation.definition.string.begin.js</string>
|
408
|
+
</dict>
|
409
|
+
</dict>
|
410
|
+
<key>end</key>
|
411
|
+
<string>'</string>
|
412
|
+
<key>endCaptures</key>
|
413
|
+
<dict>
|
414
|
+
<key>0</key>
|
415
|
+
<dict>
|
416
|
+
<key>name</key>
|
417
|
+
<string>punctuation.definition.string.end.js</string>
|
418
|
+
</dict>
|
419
|
+
</dict>
|
420
|
+
<key>name</key>
|
421
|
+
<string>string.quoted.single.js</string>
|
422
|
+
<key>patterns</key>
|
423
|
+
<array>
|
424
|
+
<dict>
|
425
|
+
<key>match</key>
|
426
|
+
<string>\\(x\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)</string>
|
427
|
+
<key>name</key>
|
428
|
+
<string>constant.character.escape.js</string>
|
429
|
+
</dict>
|
430
|
+
</array>
|
431
|
+
</dict>
|
432
|
+
<dict>
|
433
|
+
<key>begin</key>
|
434
|
+
<string>"</string>
|
435
|
+
<key>beginCaptures</key>
|
436
|
+
<dict>
|
437
|
+
<key>0</key>
|
438
|
+
<dict>
|
439
|
+
<key>name</key>
|
440
|
+
<string>punctuation.definition.string.begin.js</string>
|
441
|
+
</dict>
|
442
|
+
</dict>
|
443
|
+
<key>end</key>
|
444
|
+
<string>"</string>
|
445
|
+
<key>endCaptures</key>
|
446
|
+
<dict>
|
447
|
+
<key>0</key>
|
448
|
+
<dict>
|
449
|
+
<key>name</key>
|
450
|
+
<string>punctuation.definition.string.end.js</string>
|
451
|
+
</dict>
|
452
|
+
</dict>
|
453
|
+
<key>name</key>
|
454
|
+
<string>string.quoted.double.js</string>
|
455
|
+
<key>patterns</key>
|
456
|
+
<array>
|
457
|
+
<dict>
|
458
|
+
<key>match</key>
|
459
|
+
<string>\\(x\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)</string>
|
460
|
+
<key>name</key>
|
461
|
+
<string>constant.character.escape.js</string>
|
462
|
+
</dict>
|
463
|
+
</array>
|
464
|
+
</dict>
|
465
|
+
<dict>
|
466
|
+
<key>begin</key>
|
467
|
+
<string>/\*\*(?!/)</string>
|
468
|
+
<key>captures</key>
|
469
|
+
<dict>
|
470
|
+
<key>0</key>
|
471
|
+
<dict>
|
472
|
+
<key>name</key>
|
473
|
+
<string>punctuation.definition.comment.js</string>
|
474
|
+
</dict>
|
475
|
+
</dict>
|
476
|
+
<key>end</key>
|
477
|
+
<string>\*/</string>
|
478
|
+
<key>name</key>
|
479
|
+
<string>comment.block.documentation.js</string>
|
480
|
+
</dict>
|
481
|
+
<dict>
|
482
|
+
<key>begin</key>
|
483
|
+
<string>/\*</string>
|
484
|
+
<key>captures</key>
|
485
|
+
<dict>
|
486
|
+
<key>0</key>
|
487
|
+
<dict>
|
488
|
+
<key>name</key>
|
489
|
+
<string>punctuation.definition.comment.js</string>
|
490
|
+
</dict>
|
491
|
+
</dict>
|
492
|
+
<key>end</key>
|
493
|
+
<string>\*/</string>
|
494
|
+
<key>name</key>
|
495
|
+
<string>comment.block.js</string>
|
496
|
+
</dict>
|
497
|
+
<dict>
|
498
|
+
<key>captures</key>
|
499
|
+
<dict>
|
500
|
+
<key>1</key>
|
501
|
+
<dict>
|
502
|
+
<key>name</key>
|
503
|
+
<string>punctuation.definition.comment.js</string>
|
504
|
+
</dict>
|
505
|
+
</dict>
|
506
|
+
<key>match</key>
|
507
|
+
<string>(//).*$\n?</string>
|
508
|
+
<key>name</key>
|
509
|
+
<string>comment.line.double-slash.js</string>
|
510
|
+
</dict>
|
511
|
+
<dict>
|
512
|
+
<key>captures</key>
|
513
|
+
<dict>
|
514
|
+
<key>0</key>
|
515
|
+
<dict>
|
516
|
+
<key>name</key>
|
517
|
+
<string>punctuation.definition.comment.html.js</string>
|
518
|
+
</dict>
|
519
|
+
<key>2</key>
|
520
|
+
<dict>
|
521
|
+
<key>name</key>
|
522
|
+
<string>punctuation.definition.comment.html.js</string>
|
523
|
+
</dict>
|
524
|
+
</dict>
|
525
|
+
<key>match</key>
|
526
|
+
<string>(<!--|-->)</string>
|
527
|
+
<key>name</key>
|
528
|
+
<string>comment.block.html.js</string>
|
529
|
+
</dict>
|
530
|
+
<dict>
|
531
|
+
<key>match</key>
|
532
|
+
<string>\b(boolean|byte|char|class|double|enum|float|function|int|interface|long|short|var|void)\b</string>
|
533
|
+
<key>name</key>
|
534
|
+
<string>storage.type.js</string>
|
535
|
+
</dict>
|
536
|
+
<dict>
|
537
|
+
<key>match</key>
|
538
|
+
<string>\b(const|export|extends|final|implements|native|private|protected|public|static|synchronized|throws|transient|volatile)\b</string>
|
539
|
+
<key>name</key>
|
540
|
+
<string>storage.modifier.js</string>
|
541
|
+
</dict>
|
542
|
+
<dict>
|
543
|
+
<key>match</key>
|
544
|
+
<string>\b(break|case|catch|continue|default|do|else|finally|for|goto|if|import|package|return|switch|throw|try|while)\b</string>
|
545
|
+
<key>name</key>
|
546
|
+
<string>keyword.control.js</string>
|
547
|
+
</dict>
|
548
|
+
<dict>
|
549
|
+
<key>match</key>
|
550
|
+
<string>\b(delete|in|instanceof|new|typeof|with)\b</string>
|
551
|
+
<key>name</key>
|
552
|
+
<string>keyword.operator.js</string>
|
553
|
+
</dict>
|
554
|
+
<dict>
|
555
|
+
<key>match</key>
|
556
|
+
<string>\btrue\b</string>
|
557
|
+
<key>name</key>
|
558
|
+
<string>constant.language.boolean.true.js</string>
|
559
|
+
</dict>
|
560
|
+
<dict>
|
561
|
+
<key>match</key>
|
562
|
+
<string>\bfalse\b</string>
|
563
|
+
<key>name</key>
|
564
|
+
<string>constant.language.boolean.false.js</string>
|
565
|
+
</dict>
|
566
|
+
<dict>
|
567
|
+
<key>match</key>
|
568
|
+
<string>\bnull\b</string>
|
569
|
+
<key>name</key>
|
570
|
+
<string>constant.language.null.js</string>
|
571
|
+
</dict>
|
572
|
+
<dict>
|
573
|
+
<key>match</key>
|
574
|
+
<string>\b(super|this)\b</string>
|
575
|
+
<key>name</key>
|
576
|
+
<string>variable.language.js</string>
|
577
|
+
</dict>
|
578
|
+
<dict>
|
579
|
+
<key>match</key>
|
580
|
+
<string>\b(debugger)\b</string>
|
581
|
+
<key>name</key>
|
582
|
+
<string>keyword.other.js</string>
|
583
|
+
</dict>
|
584
|
+
<dict>
|
585
|
+
<key>match</key>
|
586
|
+
<string>\b(Anchor|Applet|Area|Array|Boolean|Button|Checkbox|Date|document|event|FileUpload|Form|Frame|Function|Hidden|History|Image|JavaArray|JavaClass|JavaObject|JavaPackage|java|Layer|Link|Location|Math|MimeType|Number|navigator|netscape|Object|Option|Packages|Password|Plugin|Radio|RegExp|Reset|Select|String|Style|Submit|screen|sun|Text|Textarea|window|XMLHttpRequest)\b</string>
|
587
|
+
<key>name</key>
|
588
|
+
<string>support.class.js</string>
|
589
|
+
</dict>
|
590
|
+
<dict>
|
591
|
+
<key>match</key>
|
592
|
+
<string>\b(s(h(ift|ow(Mod(elessDialog|alDialog)|Help))|croll(X|By(Pages|Lines)?|Y|To)?|t(op|rike)|i(n|zeToContent|debar|gnText)|ort|u(p|b(str(ing)?)?)|pli(ce|t)|e(nd|t(Re(sizable|questHeader)|M(i(nutes|lliseconds)|onth)|Seconds|Ho(tKeys|urs)|Year|Cursor|Time(out)?|Interval|ZOptions|Date|UTC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(ome|andleEvent)|navigate|c(har(CodeAt|At)|o(s|n(cat|textual|firm)|mpile)|eil|lear(Timeout|Interval)?|a(ptureEvents|ll)|reate(StyleSheet|Popup|EventObject))|t(o(GMTString|S(tring|ource)|U(TCString|pperCase)|Lo(caleString|werCase))|est|a(n|int(Enabled)?))|i(s(NaN|Finite)|ndexOf|talics)|d(isableExternalCapture|ump|etachEvent)|u(n(shift|taint|escape|watch)|pdateCommands)|j(oin|avaEnabled)|p(o(p|w)|ush|lugins.refresh|a(ddings|rse(Int|Float)?)|r(int|ompt|eference))|e(scape|nableExternalCapture|val|lementFromPoint|x(p|ec(Script|Command)?))|valueOf|UTC|queryCommand(State|Indeterm|Enabled|Value)|f(i(nd|le(ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(nt(size|color)|rward)|loor|romCharCode)|watch|l(ink|o(ad|g)|astIndexOf)|a(sin|nchor|cos|t(tachEvent|ob|an(2)?)|pply|lert|b(s|ort))|r(ou(nd|teEvents)|e(size(By|To)|calc|turnValue|place|verse|l(oad|ease(Capture|Events)))|andom)|g(o|et(ResponseHeader|M(i(nutes|lliseconds)|onth)|Se(conds|lection)|Hours|Year|Time(zoneOffset)?|Da(y|te)|UTC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Da(y|te)|FullYear)|FullYear|A(ttention|llResponseHeaders)))|m(in|ove(B(y|elow)|To(Absolute)?|Above)|ergeAttributes|a(tch|rgins|x))|b(toa|ig|o(ld|rderWidths)|link|ack))\b(?=\()</string>
|
593
|
+
<key>name</key>
|
594
|
+
<string>support.function.js</string>
|
595
|
+
</dict>
|
596
|
+
<dict>
|
597
|
+
<key>match</key>
|
598
|
+
<string>\b(s(ub(stringData|mit)|plitText|e(t(NamedItem|Attribute(Node)?)|lect))|has(ChildNodes|Feature)|namedItem|c(l(ick|o(se|neNode))|reate(C(omment|DATASection|aption)|T(Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(ntityReference|lement)|Attribute))|tabIndex|i(nsert(Row|Before|Cell|Data)|tem)|open|delete(Row|C(ell|aption)|T(Head|Foot)|Data)|focus|write(ln)?|a(dd|ppend(Child|Data))|re(set|place(Child|Data)|move(NamedItem|Child|Attribute(Node)?)?)|get(NamedItem|Element(sBy(Name|TagName)|ById)|Attribute(Node)?)|blur)\b(?=\()</string>
|
599
|
+
<key>name</key>
|
600
|
+
<string>support.function.dom.js</string>
|
601
|
+
</dict>
|
602
|
+
<dict>
|
603
|
+
<key>match</key>
|
604
|
+
<string>(?<=\.)(s(ystemLanguage|cr(ipts|ollbars|een(X|Y|Top|Left))|t(yle(Sheets)?|atus(Text|bar)?)|ibling(Below|Above)|ource|uffixes|e(curity(Policy)?|l(ection|f)))|h(istory|ost(name)?|as(h|Focus))|y|X(MLDocument|SLDocument)|n(ext|ame(space(s|URI)|Prop))|M(IN_VALUE|AX_VALUE)|c(haracterSet|o(n(structor|trollers)|okieEnabled|lorDepth|mp(onents|lete))|urrent|puClass|l(i(p(boardData)?|entInformation)|osed|asses)|alle(e|r)|rypto)|t(o(olbar|p)|ext(Transform|Indent|Decoration|Align)|ags)|SQRT(1_2|2)|i(n(ner(Height|Width)|put)|ds|gnoreCase)|zIndex|o(scpu|n(readystatechange|Line)|uter(Height|Width)|p(sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(i(splay|alog(Height|Top|Width|Left|Arguments)|rectories)|e(scription|fault(Status|Ch(ecked|arset)|View)))|u(ser(Profile|Language|Agent)|n(iqueID|defined)|pdateInterval)|_content|p(ixelDepth|ort|ersonalbar|kcs11|l(ugins|atform)|a(thname|dding(Right|Bottom|Top|Left)|rent(Window|Layer)?|ge(X(Offset)?|Y(Offset)?))|r(o(to(col|type)|duct(Sub)?|mpter)|e(vious|fix)))|e(n(coding|abledPlugin)|x(ternal|pando)|mbeds)|v(isibility|endor(Sub)?|Linkcolor)|URLUnencoded|P(I|OSITIVE_INFINITY)|f(ilename|o(nt(Size|Family|Weight)|rmName)|rame(s|Element)|gColor)|E|whiteSpace|l(i(stStyleType|n(eHeight|kColor))|o(ca(tion(bar)?|lName)|wsrc)|e(ngth|ft(Context)?)|a(st(M(odified|atch)|Index|Paren)|yer(s|X)|nguage))|a(pp(MinorVersion|Name|Co(deName|re)|Version)|vail(Height|Top|Width|Left)|ll|r(ity|guments)|Linkcolor|bove)|r(ight(Context)?|e(sponse(XML|Text)|adyState))|global|x|m(imeTypes|ultiline|enubar|argin(Right|Bottom|Top|Left))|L(N(10|2)|OG(10E|2E))|b(o(ttom|rder(RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(Color|Image)))\b</string>
|
605
|
+
<key>name</key>
|
606
|
+
<string>support.constant.js</string>
|
607
|
+
</dict>
|
608
|
+
<dict>
|
609
|
+
<key>match</key>
|
610
|
+
<string>(?<=\.)(s(hape|ystemId|c(heme|ope|rolling)|ta(ndby|rt)|ize|ummary|pecified|e(ctionRowIndex|lected(Index)?)|rc)|h(space|t(tpEquiv|mlFor)|e(ight|aders)|ref(lang)?)|n(o(Resize|tation(s|Name)|Shade|Href|de(Name|Type|Value)|Wrap)|extSibling|ame)|c(h(ildNodes|Off|ecked|arset)?|ite|o(ntent|o(kie|rds)|de(Base|Type)?|l(s|Span|or)|mpact)|ell(s|Spacing|Padding)|l(ear|assName)|aption)|t(ype|Bodies|itle|Head|ext|a(rget|gName)|Foot)|i(sMap|ndex|d|m(plementation|ages))|o(ptions|wnerDocument|bject)|d(i(sabled|r)|o(c(type|umentElement)|main)|e(clare|f(er|ault(Selected|Checked|Value)))|at(eTime|a))|useMap|p(ublicId|arentNode|r(o(file|mpt)|eviousSibling))|e(n(ctype|tities)|vent|lements)|v(space|ersion|alue(Type)?|Link|Align)|URL|f(irstChild|orm(s)?|ace|rame(Border)?)|width|l(ink(s)?|o(ngDesc|wSrc)|a(stChild|ng|bel))|a(nchors|c(ce(ssKey|pt(Charset)?)|tion)|ttributes|pplets|l(t|ign)|r(chive|eas)|xis|Link|bbr)|r(ow(s|Span|Index)|ules|e(v|ferrer|l|adOnly))|m(ultiple|e(thod|dia)|a(rgin(Height|Width)|xLength))|b(o(dy|rder)|ackground|gColor))\b</string>
|
611
|
+
<key>name</key>
|
612
|
+
<string>support.constant.dom.js</string>
|
613
|
+
</dict>
|
614
|
+
<dict>
|
615
|
+
<key>match</key>
|
616
|
+
<string>\b(ELEMENT_NODE|ATTRIBUTE_NODE|TEXT_NODE|CDATA_SECTION_NODE|ENTITY_REFERENCE_NODE|ENTITY_NODE|PROCESSING_INSTRUCTION_NODE|COMMENT_NODE|DOCUMENT_NODE|DOCUMENT_TYPE_NODE|DOCUMENT_FRAGMENT_NODE|NOTATION_NODE|INDEX_SIZE_ERR|DOMSTRING_SIZE_ERR|HIERARCHY_REQUEST_ERR|WRONG_DOCUMENT_ERR|INVALID_CHARACTER_ERR|NO_DATA_ALLOWED_ERR|NO_MODIFICATION_ALLOWED_ERR|NOT_FOUND_ERR|NOT_SUPPORTED_ERR|INUSE_ATTRIBUTE_ERR)\b</string>
|
617
|
+
<key>name</key>
|
618
|
+
<string>support.constant.dom.js</string>
|
619
|
+
</dict>
|
620
|
+
<dict>
|
621
|
+
<key>match</key>
|
622
|
+
<string>\bon(R(ow(s(inserted|delete)|e(nter|xit))|e(s(ize(start|end)?|et)|adystatechange))|Mouse(o(ut|ver)|down|up|move)|B(efore(cut|deactivate|u(nload|pdate)|p(aste|rint)|editfocus|activate)|lur)|S(croll|top|ubmit|elect(start|ionchange)?)|H(over|elp)|C(hange|ont(extmenu|rolselect)|ut|ellchange|l(ick|ose))|D(eactivate|ata(setc(hanged|omplete)|available)|r(op|ag(start|over|drop|en(ter|d)|leave)?)|blclick)|Unload|P(aste|ropertychange)|Error(update)?|Key(down|up|press)|Focus|Load|A(ctivate|fter(update|print)|bort))\b</string>
|
623
|
+
<key>name</key>
|
624
|
+
<string>support.function.event-handler.js</string>
|
625
|
+
</dict>
|
626
|
+
<dict>
|
627
|
+
<key>match</key>
|
628
|
+
<string>!|\$|%|&|\*|\-\-|\-|\+\+|\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\|\||\?\:|\*=|(?<!\()/=|%=|\+=|\-=|&=|\^=|\b(in|instanceof|new|delete|typeof|void)\b</string>
|
629
|
+
<key>name</key>
|
630
|
+
<string>keyword.operator.js</string>
|
631
|
+
</dict>
|
632
|
+
<dict>
|
633
|
+
<key>match</key>
|
634
|
+
<string>\b(Infinity|NaN|undefined)\b</string>
|
635
|
+
<key>name</key>
|
636
|
+
<string>constant.language.js</string>
|
637
|
+
</dict>
|
638
|
+
<dict>
|
639
|
+
<key>begin</key>
|
640
|
+
<string>(?<=[=(:]|^|return)\s*(/)(?![/*+{}?])</string>
|
641
|
+
<key>beginCaptures</key>
|
642
|
+
<dict>
|
643
|
+
<key>1</key>
|
644
|
+
<dict>
|
645
|
+
<key>name</key>
|
646
|
+
<string>punctuation.definition.string.begin.js</string>
|
647
|
+
</dict>
|
648
|
+
</dict>
|
649
|
+
<key>end</key>
|
650
|
+
<string>(/)[igm]*</string>
|
651
|
+
<key>endCaptures</key>
|
652
|
+
<dict>
|
653
|
+
<key>1</key>
|
654
|
+
<dict>
|
655
|
+
<key>name</key>
|
656
|
+
<string>punctuation.definition.string.end.js</string>
|
657
|
+
</dict>
|
658
|
+
</dict>
|
659
|
+
<key>name</key>
|
660
|
+
<string>string.regexp.js</string>
|
661
|
+
<key>patterns</key>
|
662
|
+
<array>
|
663
|
+
<dict>
|
664
|
+
<key>match</key>
|
665
|
+
<string>\\.</string>
|
666
|
+
<key>name</key>
|
667
|
+
<string>constant.character.escape.js</string>
|
668
|
+
</dict>
|
669
|
+
</array>
|
670
|
+
</dict>
|
671
|
+
<dict>
|
672
|
+
<key>match</key>
|
673
|
+
<string>\;</string>
|
674
|
+
<key>name</key>
|
675
|
+
<string>punctuation.terminator.statement.js</string>
|
676
|
+
</dict>
|
677
|
+
<dict>
|
678
|
+
<key>match</key>
|
679
|
+
<string>,[ |\t]*</string>
|
680
|
+
<key>name</key>
|
681
|
+
<string>meta.delimiter.object.comma.js</string>
|
682
|
+
</dict>
|
683
|
+
<dict>
|
684
|
+
<key>match</key>
|
685
|
+
<string>\.</string>
|
686
|
+
<key>name</key>
|
687
|
+
<string>meta.delimiter.method.period.js</string>
|
688
|
+
</dict>
|
689
|
+
<dict>
|
690
|
+
<key>match</key>
|
691
|
+
<string>\{|\}</string>
|
692
|
+
<key>name</key>
|
693
|
+
<string>meta.brace.curly.js</string>
|
694
|
+
</dict>
|
695
|
+
<dict>
|
696
|
+
<key>match</key>
|
697
|
+
<string>\(|\)</string>
|
698
|
+
<key>name</key>
|
699
|
+
<string>meta.brace.round.js</string>
|
700
|
+
</dict>
|
701
|
+
<dict>
|
702
|
+
<key>match</key>
|
703
|
+
<string>\[|\]</string>
|
704
|
+
<key>name</key>
|
705
|
+
<string>meta.brace.square.js</string>
|
706
|
+
</dict>
|
707
|
+
</array>
|
708
|
+
<key>scopeName</key>
|
709
|
+
<string>source.js</string>
|
710
|
+
<key>uuid</key>
|
711
|
+
<string>D570267B-564C-4B0C-AA79-8293A41214C8</string>
|
712
|
+
</dict>
|
713
|
+
</plist>
|