Skip to content

Commit

Permalink
update with recent figure/figcaption and details/summary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmuhl committed Jan 30, 2010
1 parent 99960e8 commit 5cea7a8
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Commands/Lookup element.tmCommand
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ $tags = {
"ins" => "the-ins-element",
"del" => "the-del-element",
"figure" => "the-figure-element",
"figcaption" => "the-figcaption-element",
"img" => "the-img-element",
"iframe" => "the-iframe-element",
"embed" => "the-embed-element",
Expand Down Expand Up @@ -110,6 +111,7 @@ $tags = {
"textarea" => "the-textarea-element",
"output" => "the-output-element",
"details" => "the-details-element",
"summary" => "the-summary-element",
"datagrid" => "datagrid",
"command" => "the-command",
"bb" => "the-bb-element",
Expand Down
2 changes: 1 addition & 1 deletion Snippets/<details>.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<dict>
<key>content</key>
<string>&lt;details&gt;
&lt;legend&gt;${1:title or explanatory caption}&lt;/legend&gt;
&lt;summary&gt;${1:title or explanatory caption}&lt;/summary&gt;
$2
&lt;/details&gt;$0</string>
<key>name</key>
Expand Down
16 changes: 16 additions & 0 deletions Snippets/<figcaption>.tmSnippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>&lt;figcaption&gt;$1&lt;/figure&gt;$0</string>
<key>name</key>
<string>&lt;figcaption&gt;</string>
<key>scope</key>
<string>text.html</string>
<key>tabTrigger</key>
<string>figcaption</string>
<key>uuid</key>
<string>FF93F160-ECB8-4279-A976-4A7D4F91C607</string>
</dict>
</plist>
3 changes: 2 additions & 1 deletion Snippets/<figure>.tmSnippet
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<dict>
<key>content</key>
<string>&lt;figure&gt;
${1:&lt;dt&gt;${2:explanatory caption}&lt;/dt&gt;}$3
${1:&lt;figcaption&gt;${2:explanatory caption}&lt;/figcaption&gt;}
$3
&lt;/figure&gt;$0</string>
<key>name</key>
<string>&lt;figure&gt;</string>
Expand Down
16 changes: 16 additions & 0 deletions Snippets/<summary>.tmSnippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>&lt;summary&gt;$1&lt;/summary&gt;$0</string>
<key>name</key>
<string>&lt;summary&gt;</string>
<key>scope</key>
<string>text.html</string>
<key>tabTrigger</key>
<string>summary</string>
<key>uuid</key>
<string>DA80E7E5-2832-434F-9BCF-A86C3FC99E88</string>
</dict>
</plist>
4 changes: 4 additions & 0 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
<key>items</key>
<array>
<string>D8D4017E-BB4E-4002-BBBD-E69161E551C9</string>
<string>FF93F160-ECB8-4279-A976-4A7D4F91C607</string>
<string>908BA846-F4B0-4855-975F-AA0B4AF3D1A9</string>
<string>2593C830-3C1E-4BB5-86B1-2DFA51888C75</string>
<string>8C79DB07-1D44-4AFD-A9A6-E64AED876C54</string>
Expand Down Expand Up @@ -200,6 +201,7 @@
<key>items</key>
<array>
<string>7D36AE50-5C5F-445C-9FD2-B6AFBFAD29A9</string>
<string>DA80E7E5-2832-434F-9BCF-A86C3FC99E88</string>
<string>389C2FDE-B363-44DE-9B3E-3339EF88CB4E</string>
<string>84DC4FE8-DB87-46B1-9783-D83909545074</string>
</array>
Expand Down Expand Up @@ -387,6 +389,7 @@
<string>942BCB25-1F1E-4F51-9D16-BE62A481B39F</string>
<string>D14DE56E-D23C-410B-A580-8BD33AFB4D6C</string>
<string>D8D4017E-BB4E-4002-BBBD-E69161E551C9</string>
<string>FF93F160-ECB8-4279-A976-4A7D4F91C607</string>
<string>908BA846-F4B0-4855-975F-AA0B4AF3D1A9</string>
<string>CD6D2CC6-6B33-11D9-BDFD-000D93589AF6</string>
<string>2593C830-3C1E-4BB5-86B1-2DFA51888C75</string>
Expand Down Expand Up @@ -450,6 +453,7 @@
<string>BF1FB951-2E7A-4703-9818-DB70D4F4139C</string>
<string>988E575B-9158-48E4-BF80-83A3328F648C</string>
<string>7D36AE50-5C5F-445C-9FD2-B6AFBFAD29A9</string>
<string>DA80E7E5-2832-434F-9BCF-A86C3FC99E88</string>
<string>389C2FDE-B363-44DE-9B3E-3339EF88CB4E</string>
<string>84DC4FE8-DB87-46B1-9783-D83909545074</string>
<string>637CEA2B-578C-429C-BB74-30E8D42BFA22</string>
Expand Down

0 comments on commit 5cea7a8

Please sign in to comment.