| Server IP : 180.180.241.3 / Your IP : 216.73.216.216 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Sublime Text 2/Pristine Packages/ |
Upload File : |
PK hZ=5}| Comments.tmPreferences<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Comments</string>
<key>scope</key>
<string>text.html</string>
<key>settings</key>
<dict>
<key>shellVariables</key>
<array>
<dict>
<key>name</key>
<string>TM_COMMENT_START</string>
<key>value</key>
<string><!-- </string>
</dict>
<dict>
<key>name</key>
<string>TM_COMMENT_END</string>
<key>value</key>
<string> --></string>
</dict>
</array>
</dict>
<key>uuid</key>
<string>B79BDBCF-D0C9-468E-BE62-744074D7825F</string>
</dict>
</plist>
PK >!X encode_html_entities.py#!/usr/bin/env python
import sublime
import sublime_plugin
from htmlentitydefs import codepoint2name as cp2n
class EncodeHtmlEntities(sublime_plugin.TextCommand):
def run(self, edit, **args):
view = self.view
for sel in view.sel():
buf = []
for pt in xrange(sel.begin(), sel.end()):
ch = view.substr(pt)
ch_ord = ord(ch)
if (not view.match_selector(pt, ('meta.tag - string, constant.character.entity'))
and ch_ord in cp2n
and not (ch in ('"', "'")
and view.match_selector(pt, 'string'))):
ch = '&%s;' % cp2n[ch_ord]
buf.append(ch)
view.replace(edit, sel, ''.join(buf))
PK ij?j) ) HTML.sublime-completions{
"scope": "text.html - source - meta.tag, punctuation.definition.tag.begin",
"completions":
[
{ "trigger": "a", "contents": "<a href=\"$1\">$2</a>" },
{ "trigger": "abbr", "contents": "<abbr>$1</abbr>" },
{ "trigger": "acronym", "contents": "<acronym>$1</acronym>" },
{ "trigger": "address", "contents": "<address>$1</address>" },
{ "trigger": "applet", "contents": "<applet>$1</applet>" },
{ "trigger": "area", "contents": "<area>$1</area>" },
{ "trigger": "b", "contents": "<b>$1</b>" },
{ "trigger": "base", "contents": "<base>$1</base>" },
{ "trigger": "big", "contents": "<big>$1</big>" },
{ "trigger": "blockquote", "contents": "<blockquote>$1</blockquote>" },
{ "trigger": "body", "contents": "<body>$1</body>" },
{ "trigger": "button", "contents": "<button>$1</button>" },
{ "trigger": "center", "contents": "<center>$1</center>" },
{ "trigger": "caption", "contents": "<caption>$1</caption>" },
{ "trigger": "cdata", "contents": "<cdata>$1</cdata>" },
{ "trigger": "cite", "contents": "<cite>$1</cite>" },
{ "trigger": "col", "contents": "<col>$1</col>" },
{ "trigger": "colgroup", "contents": "<colgroup>$1</colgroup>" },
{ "trigger": "code", "contents": "<code>$1</code>" },
{ "trigger": "div", "contents": "<div>$1</div>" },
{ "trigger": "dd", "contents": "<dd>$1</dd>" },
{ "trigger": "del", "contents": "<del>$1</del>" },
{ "trigger": "dfn", "contents": "<dfn>$1</dfn>" },
{ "trigger": "dl", "contents": "<dl>$1</dl>" },
{ "trigger": "dt", "contents": "<dt>$1</dt>" },
{ "trigger": "em", "contents": "<em>$1</em>" },
{ "trigger": "fieldset", "contents": "<fieldset>$1</fieldset>" },
{ "trigger": "font", "contents": "<font>$1</font>" },
{ "trigger": "form", "contents": "<form>$1</form>" },
{ "trigger": "frame", "contents": "<frame>$1</frame>" },
{ "trigger": "frameset", "contents": "<frameset>$1</frameset>" },
{ "trigger": "head", "contents": "<head>$1</head>" },
{ "trigger": "h1", "contents": "<h1>$1</h1>" },
{ "trigger": "h2", "contents": "<h2>$1</h2>" },
{ "trigger": "h3", "contents": "<h3>$1</h3>" },
{ "trigger": "h4", "contents": "<h4>$1</h4>" },
{ "trigger": "h5", "contents": "<h5>$1</h5>" },
{ "trigger": "h6", "contents": "<h6>$1</h6>" },
{ "trigger": "i", "contents": "<i>$1</i>" },
{ "trigger": "iframe", "contents": "<iframe src=\"$1\"></iframe>" },
{ "trigger": "ins", "contents": "<ins>$1</ins>" },
{ "trigger": "kbd", "contents": "<kbd>$1</kbd>" },
{ "trigger": "li", "contents": "<li>$1</li>" },
{ "trigger": "label", "contents": "<label>$1</label>" },
{ "trigger": "legend", "contents": "<legend>$1</legend>" },
{ "trigger": "link", "contents": "<link rel=\"stylesheet\" type=\"text/css\" href=\"$1\">" },
{ "trigger": "map", "contents": "<map>$1</map>" },
{ "trigger": "noframes", "contents": "<noframes>$1</noframes>" },
{ "trigger": "object", "contents": "<object>$1</object>" },
{ "trigger": "ol", "contents": "<ol>$1</ol>" },
{ "trigger": "optgroup", "contents": "<optgroup>$1</optgroup>" },
{ "trigger": "option", "contents": "<option>$0</option>" },
{ "trigger": "p", "contents": "<p>$1</p>" },
{ "trigger": "pre", "contents": "<pre>$1</pre>" },
{ "trigger": "span", "contents": "<span>$1</span>" },
{ "trigger": "samp", "contents": "<samp>$1</samp>" },
{ "trigger": "script", "contents": "<script type=\"${1:text/javascript}\">$0</script>" },
{ "trigger": "style", "contents": "<style type=\"${1:text/css}\">$0</style>" },
{ "trigger": "select", "contents": "<select>$1</select>" },
{ "trigger": "small", "contents": "<small>$1</small>" },
{ "trigger": "strong", "contents": "<strong>$1</strong>" },
{ "trigger": "sub", "contents": "<sub>$1</sub>" },
{ "trigger": "sup", "contents": "<sup>$1</sup>" },
{ "trigger": "table", "contents": "<table>$1</table>" },
{ "trigger": "tbody", "contents": "<tbody>$1</tbody>" },
{ "trigger": "td", "contents": "<td>$1</td>" },
{ "trigger": "textarea", "contents": "<textarea>$1</textarea>" },
{ "trigger": "tfoot", "contents": "<tfoot>$1</tfoot>" },
{ "trigger": "th", "contents": "<th>$1</th>" },
{ "trigger": "thead", "contents": "<thead>$1</thead>" },
{ "trigger": "title", "contents": "<title>$1</title>" },
{ "trigger": "tr", "contents": "<tr>$1</tr>" },
{ "trigger": "tt", "contents": "<tt>$1</tt>" },
{ "trigger": "u", "contents": "<u>$1</u>" },
{ "trigger": "ul", "contents": "<ul>$1</ul>" },
{ "trigger": "var", "contents": "<var>$1</var>" },
{ "trigger": "br", "contents": "<br>" },
{ "trigger": "embed", "contents": "<embed>" },
{ "trigger": "hr", "contents": "<hr>" },
{ "trigger": "img", "contents": "<img src=\"$1\">" },
{ "trigger": "input", "contents": "<input>" },
{ "trigger": "meta", "contents": "<meta>" },
{ "trigger": "param", "contents": "<param name=\"$1\" value=\"$2\">" },
{ "trigger": "article", "contents": "<article>$1</article>" },
{ "trigger": "aside", "contents": "<aside>$1</aside>" },
{ "trigger": "audio", "contents": "<audio>$1</audio>" },
{ "trigger": "canvas", "contents": "<canvas>$1</canvas>" },
{ "trigger": "footer", "contents": "<footer>$1</footer>" },
{ "trigger": "header", "contents": "<header>$1</header>" },
{ "trigger": "nav", "contents": "<nav>$1</nav>" },
{ "trigger": "section", "contents": "<section>$1</section>" },
{ "trigger": "video", "contents": "<video>$1</video>" },
{ "trigger": "A", "contents": "<A HREF=\"$1\">$2</A>" },
{ "trigger": "ABBR", "contents": "<ABBR>$1</ABBR>" },
{ "trigger": "ACRONYM", "contents": "<ACRONYM>$1</ACRONYM>" },
{ "trigger": "ADDRESS", "contents": "<ADDRESS>$1</ADDRESS>" },
{ "trigger": "APPLET", "contents": "<APPLET>$1</APPLET>" },
{ "trigger": "AREA", "contents": "<AREA>$1</AREA>" },
{ "trigger": "B", "contents": "<B>$1</B>" },
{ "trigger": "BASE", "contents": "<BASE>$1</BASE>" },
{ "trigger": "BIG", "contents": "<BIG>$1</BIG>" },
{ "trigger": "BLOCKQUOTE", "contents": "<BLOCKQUOTE>$1</BLOCKQUOTE>" },
{ "trigger": "BODY", "contents": "<BODY>$1</BODY>" },
{ "trigger": "BUTTON", "contents": "<BUTTON>$1</BUTTON>" },
{ "trigger": "CENTER", "contents": "<CENTER>$1</CENTER>" },
{ "trigger": "CAPTION", "contents": "<CAPTION>$1</CAPTION>" },
{ "trigger": "CDATA", "contents": "<CDATA>$1</CDATA>" },
{ "trigger": "CITE", "contents": "<CITE>$1</CITE>" },
{ "trigger": "COL", "contents": "<COL>$1</COL>" },
{ "trigger": "COLGROUP", "contents": "<COLGROUP>$1</COLGROUP>" },
{ "trigger": "CODE", "contents": "<CODE>$1</CODE>" },
{ "trigger": "DIV", "contents": "<DIV>$1</DIV>" },
{ "trigger": "DD", "contents": "<DD>$1</DD>" },
{ "trigger": "DEL", "contents": "<DEL>$1</DEL>" },
{ "trigger": "DFN", "contents": "<DFN>$1</DFN>" },
{ "trigger": "DL", "contents": "<DL>$1</DL>" },
{ "trigger": "DT", "contents": "<DT>$1</DT>" },
{ "trigger": "EM", "contents": "<EM>$1</EM>" },
{ "trigger": "FIELDSET", "contents": "<FIELDSET>$1</FIELDSET>" },
{ "trigger": "FONT", "contents": "<FONT>$1</FONT>" },
{ "trigger": "FORM", "contents": "<FORM>$1</FORM>" },
{ "trigger": "FRAME", "contents": "<FRAME>$1</FRAME>" },
{ "trigger": "FRAMESET", "contents": "<FRAMESET>$1</FRAMESET>" },
{ "trigger": "HEAD", "contents": "<HEAD>$1</HEAD>" },
{ "trigger": "H1", "contents": "<H1>$1</H1>" },
{ "trigger": "H2", "contents": "<H2>$1</H2>" },
{ "trigger": "H3", "contents": "<H3>$1</H3>" },
{ "trigger": "H4", "contents": "<H4>$1</H4>" },
{ "trigger": "H5", "contents": "<H5>$1</H5>" },
{ "trigger": "H6", "contents": "<H6>$1</H6>" },
{ "trigger": "I", "contents": "<I>$1</I>" },
{ "trigger": "IFRAME", "contents": "<IFRAME src=\"$1\"></IFRAME>" },
{ "trigger": "INS", "contents": "<INS>$1</INS>" },
{ "trigger": "KBD", "contents": "<KBD>$1</KBD>" },
{ "trigger": "LI", "contents": "<LI>$1</LI>" },
{ "trigger": "LABEL", "contents": "<LABEL>$1</LABEL>" },
{ "trigger": "LEGEND", "contents": "<LEGEND>$1</LEGEND>" },
{ "trigger": "LINK", "contents": "<LINK>$1</LINK>" },
{ "trigger": "MAP", "contents": "<MAP>$1</MAP>" },
{ "trigger": "NOFRAMES", "contents": "<NOFRAMES>$1</NOFRAMES>" },
{ "trigger": "OBJECT", "contents": "<OBJECT>$1</OBJECT>" },
{ "trigger": "OL", "contents": "<OL>$1</OL>" },
{ "trigger": "OPTGROUP", "contents": "<OPTGROUP>$1</OPTGROUP>" },
{ "trigger": "OPTION", "contents": "<OPTION>$1</OPTION>" },
{ "trigger": "P", "contents": "<P>$1</P>" },
{ "trigger": "PRE", "contents": "<PRE>$1</PRE>" },
{ "trigger": "SPAN", "contents": "<SPAN>$1</SPAN>" },
{ "trigger": "SAMP", "contents": "<SAMP>$1</SAMP>" },
{ "trigger": "SCRIPT", "contents": "<SCRIPT TYPE=\"${1:text/javascript}\">$0</SCRIPT>" },
{ "trigger": "STYLE", "contents": "<STYLE TYPE=\"${1:text/css}\">$0</STYLE>" },
{ "trigger": "SELECT", "contents": "<SELECT>$1</SELECT>" },
{ "trigger": "SMALL", "contents": "<SMALL>$1</SMALL>" },
{ "trigger": "STRONG", "contents": "<STRONG>$1</STRONG>" },
{ "trigger": "SUB", "contents": "<SUB>$1</SUB>" },
{ "trigger": "SUP", "contents": "<SUP>$1</SUP>" },
{ "trigger": "TABLE", "contents": "<TABLE>$1</TABLE>" },
{ "trigger": "TBODY", "contents": "<TBODY>$1</TBODY>" },
{ "trigger": "TD", "contents": "<TD>$1</TD>" },
{ "trigger": "TEXTAREA", "contents": "<TEXTAREA>$1</TEXTAREA>" },
{ "trigger": "TFOOT", "contents": "<TFOOT>$1</TFOOT>" },
{ "trigger": "TH", "contents": "<TH>$1</TH>" },
{ "trigger": "THEAD", "contents": "<THEAD>$1</THEAD>" },
{ "trigger": "TITLE", "contents": "<TITLE>$1</TITLE>" },
{ "trigger": "TR", "contents": "<TR>$1</TR>" },
{ "trigger": "TT", "contents": "<TT>$1</TT>" },
{ "trigger": "U", "contents": "<U>$1</U>" },
{ "trigger": "UL", "contents": "<UL>$1</UL>" },
{ "trigger": "VAR", "contents": "<VAR>$1</VAR>" },
{ "trigger": "BR", "contents": "<BR>" },
{ "trigger": "EMBED", "contents": "<EMBED>" },
{ "trigger": "HR", "contents": "<HR>" },
{ "trigger": "IMG", "contents": "<IMG SRC=\"$1\">" },
{ "trigger": "INPUT", "contents": "<INPUT>" },
{ "trigger": "META", "contents": "<META>" },
{ "trigger": "PARAM", "contents": "<PARAM NAME=\"$1\" VALUE=\"$2\">" },
{ "trigger": "ARTICLE", "contents": "<ARTICLE>$1</ARTICLE>" },
{ "trigger": "ASIDE", "contents": "<ASIDE>$1</ASIDE>" },
{ "trigger": "AUDIO", "contents": "<AUDIO>$1</AUDIO>" },
{ "trigger": "CANVAS", "contents": "<CANVAS>$1</CANVAS>" },
{ "trigger": "FOOTER", "contents": "<FOOTER>$1</FOOTER>" },
{ "trigger": "HEADER", "contents": "<HEADER>$1</HEADER>" },
{ "trigger": "NAV", "contents": "<NAV>$1</NAV>" },
{ "trigger": "SECTION", "contents": "<SECTION>$1</SECTION>" },
{ "trigger": "VIDEO", "contents": "<VIDEO>$1</VIDEO>" }
]
}
PK f?m7ݸ html.sublime-snippet<snippet>
<content><![CDATA[<html>
<head>
<title>$1</title>
</head>
<body>
$0
</body>
</html>]]></content>
<tabTrigger>html</tabTrigger>
<scope>text.html</scope>
</snippet>PK Y?^ZX ZX HTML.tmLanguage<?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>fileTypes</key>
<array>
<string>html</string>
<string>htm</string>
<string>shtml</string>
<string>xhtml</string>
<string>phtml</string>
<string>inc</string>
<string>tmpl</string>
<string>tpl</string>
<string>ctp</string>
</array>
<key>firstLineMatch</key>
<string><!(?i:DOCTYPE)|<(?i:html)|<\?(?i:php)</string>
<key>foldingStartMarker</key>
<string>(?x)
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\b.*?>
|<!--(?!.*--\s*>)
|^<!--\ \#tminclude\ (?>.*?-->)$
|<\?(?:php)?.*\b(if|for(each)?|while)\b.+:
|\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
|\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
)</string>
<key>foldingStopMarker</key>
<string>(?x)
(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)>
|^(?!.*?<!--).*?--\s*>
|^<!--\ end\ tminclude\ -->$
|<\?(?:php)?.*\bend(if|for(each)?|while)\b
|\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
|^[^{]*\}
)</string>
<key>keyEquivalent</key>
<string>^~H</string>
<key>name</key>
<string>HTML</string>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>(<)([a-zA-Z0-9:]++)(?=[^>]*></\2>)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.begin.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.tag.html</string>
</dict>
</dict>
<key>end</key>
<string>(>)(<)(/)(\2)(>)</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.end.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.begin.html</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>entity.name.tag.html</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.end.html</string>
</dict>
</dict>
<key>name</key>
<string>meta.tag.any.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-stuff</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>(<\?)(xml)</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.tag.xml.html</string>
</dict>
</dict>
<key>end</key>
<string>(\?>)</string>
<key>name</key>
<string>meta.tag.preprocessor.xml.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-generic-attribute</string>
</dict>
<dict>
<key>include</key>
<string>#string-double-quoted</string>
</dict>
<dict>
<key>include</key>
<string>#string-single-quoted</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string><!--</string>
<key>captures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.html</string>
</dict>
</dict>
<key>end</key>
<string>--\s*></string>
<key>name</key>
<string>comment.block.html</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>--</string>
<key>name</key>
<string>invalid.illegal.bad-comments-or-CDATA.html</string>
</dict>
<dict>
<key>include</key>
<string>#embedded-code</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string><!</string>
<key>captures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html</string>
</dict>
</dict>
<key>end</key>
<string>></string>
<key>name</key>
<string>meta.tag.sgml.html</string>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>(?i:DOCTYPE)</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>entity.name.tag.doctype.html</string>
</dict>
</dict>
<key>end</key>
<string>(?=>)</string>
<key>name</key>
<string>meta.tag.sgml.doctype.html</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>"[^">]*"</string>
<key>name</key>
<string>string.quoted.double.doctype.identifiers-and-DTDs.html</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>\[CDATA\[</string>
<key>end</key>
<string>]](?=>)</string>
<key>name</key>
<string>constant.other.inline-data.html</string>
</dict>
<dict>
<key>match</key>
<string>(\s*)(?!--|>)\S(\s*)</string>
<key>name</key>
<string>invalid.illegal.bad-comments-or-CDATA.html</string>
</dict>
</array>
</dict>
<dict>
<key>include</key>
<string>#embedded-code</string>
</dict>
<dict>
<key>begin</key>
<string>(?:^\s+)?(<)((?i:style))\b(?![^>]*/>)</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.tag.style.html</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html</string>
</dict>
</dict>
<key>end</key>
<string>(</)((?i:style))(>)(?:\s*\n)?</string>
<key>name</key>
<string>source.css.embedded.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-stuff</string>
</dict>
<dict>
<key>begin</key>
<string>(>)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html</string>
</dict>
</dict>
<key>end</key>
<string>(?=</(?i:style))</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#embedded-code</string>
</dict>
<dict>
<key>include</key>
<string>source.css</string>
</dict>
</array>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>(?:^\s+)?(<)((?i:script))\b(?![^>]*/>)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.tag.script.html</string>
</dict>
</dict>
<key>end</key>
<string>(?<=</(script|SCRIPT))(>)(?:\s*\n)?</string>
<key>endCaptures</key>
<dict>
<key>2</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html</string>
</dict>
</dict>
<key>name</key>
<string>source.js.embedded.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-stuff</string>
</dict>
<dict>
<key>begin</key>
<string>(?<!</(?:script|SCRIPT))(>)</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.tag.script.html</string>
</dict>
</dict>
<key>end</key>
<string>(</)((?i:script))</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.js</string>
</dict>
</dict>
<key>match</key>
<string>(//).*?((?=</script)|$\n?)</string>
<key>name</key>
<string>comment.line.double-slash.js</string>
</dict>
<dict>
<key>begin</key>
<string>/\*</string>
<key>captures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.js</string>
</dict>
</dict>
<key>end</key>
<string>\*/|(?=</script)</string>
<key>name</key>
<string>comment.block.js</string>
</dict>
<dict>
<key>include</key>
<string>#php</string>
</dict>
<dict>
<key>include</key>
<string>source.js</string>
</dict>
</array>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>(</?)((?i:body|head|html)\b)</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.begin.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.tag.structure.any.html</string>
</dict>
</dict>
<key>end</key>
<string>(>)</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.end.html</string>
</dict>
</dict>
<key>name</key>
<string>meta.tag.structure.any.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-stuff</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\b)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.begin.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.tag.block.any.html</string>
</dict>
</dict>
<key>end</key>
<string>(>)</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.end.html</string>
</dict>
</dict>
<key>name</key>
<string>meta.tag.block.any.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-stuff</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\b)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.begin.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.tag.inline.any.html</string>
</dict>
</dict>
<key>end</key>
<string>((?: ?/)?>)</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.end.html</string>
</dict>
</dict>
<key>name</key>
<string>meta.tag.inline.any.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-stuff</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>(</?)([a-zA-Z0-9:]+)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.begin.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.tag.other.html</string>
</dict>
</dict>
<key>end</key>
<string>(>)</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.tag.end.html</string>
</dict>
</dict>
<key>name</key>
<string>meta.tag.other.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-stuff</string>
</dict>
</array>
</dict>
<dict>
<key>include</key>
<string>#entities</string>
</dict>
<dict>
<key>match</key>
<string><></string>
<key>name</key>
<string>invalid.illegal.incomplete.html</string>
</dict>
<dict>
<key>match</key>
<string><</string>
<key>name</key>
<string>invalid.illegal.bad-angle-bracket.html</string>
</dict>
</array>
<key>repository</key>
<dict>
<key>embedded-code</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#ruby</string>
</dict>
<dict>
<key>include</key>
<string>#php</string>
</dict>
<!--
<dict>
<key>include</key>
<string>#smarty</string>
</dict>
-->
<dict>
<key>include</key>
<string>#python</string>
</dict>
</array>
</dict>
<key>entities</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.entity.html</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>punctuation.definition.entity.html</string>
</dict>
</dict>
<key>match</key>
<string>(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)</string>
<key>name</key>
<string>constant.character.entity.html</string>
</dict>
<dict>
<key>match</key>
<string>&</string>
<key>name</key>
<string>invalid.illegal.bad-ampersand.html</string>
</dict>
</array>
</dict>
<key>php</key>
<dict>
<key>begin</key>
<string>(?=(^\s*)?<\?)</string>
<key>end</key>
<string>(?!(^\s*)?<\?)</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.php</string>
</dict>
</array>
</dict>
<key>python</key>
<dict>
<key>begin</key>
<string>(?:^\s*)<\?python(?!.*\?>)</string>
<key>end</key>
<string>\?>(?:\s*$\n)?</string>
<key>name</key>
<string>source.python.embedded.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.python</string>
</dict>
</array>
</dict>
<key>ruby</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string><%+#</string>
<key>captures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.erb</string>
</dict>
</dict>
<key>end</key>
<string>%></string>
<key>name</key>
<string>comment.block.erb</string>
</dict>
<dict>
<key>begin</key>
<string><%+(?!>)=?</string>
<key>captures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.embedded.ruby</string>
</dict>
</dict>
<key>end</key>
<string>-?%></string>
<key>name</key>
<string>source.ruby.embedded.html</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.ruby</string>
</dict>
</dict>
<key>match</key>
<string>(#).*?(?=-?%>)</string>
<key>name</key>
<string>comment.line.number-sign.ruby</string>
</dict>
<dict>
<key>include</key>
<string>source.ruby</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string><\?r(?!>)=?</string>
<key>captures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.section.embedded.ruby.nitro</string>
</dict>
</dict>
<key>end</key>
<string>-?\?></string>
<key>name</key>
<string>source.ruby.nitro.embedded.html</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.ruby.nitro</string>
</dict>
</dict>
<key>match</key>
<string>(#).*?(?=-?\?>)</string>
<key>name</key>
<string>comment.line.number-sign.ruby.nitro</string>
</dict>
<dict>
<key>include</key>
<string>source.ruby</string>
</dict>
</array>
</dict>
</array>
</dict>
<!--
<key>smarty</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>(\{(literal)\})</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>source.smarty.embedded.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>support.function.built-in.smarty</string>
</dict>
</dict>
<key>end</key>
<string>(\{/(literal)\})</string>
</dict>
<dict>
<key>begin</key>
<string>{{|{</string>
<key>disabled</key>
<integer>1</integer>
<key>end</key>
<string>}}|}</string>
<key>name</key>
<string>source.smarty.embedded.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.smarty</string>
</dict>
</array>
</dict>
</array>
</dict>
-->
<key>string-double-quoted</key>
<dict>
<key>begin</key>
<string>"</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.html</string>
</dict>
</dict>
<key>end</key>
<string>"</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.html</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.double.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#embedded-code</string>
</dict>
<dict>
<key>include</key>
<string>#entities</string>
</dict>
</array>
</dict>
<key>string-single-quoted</key>
<dict>
<key>begin</key>
<string>'</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.html</string>
</dict>
</dict>
<key>end</key>
<string>'</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.html</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.single.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#embedded-code</string>
</dict>
<dict>
<key>include</key>
<string>#entities</string>
</dict>
</array>
</dict>
<key>tag-generic-attribute</key>
<dict>
<key>match</key>
<string>\b([a-zA-Z\-:]+)</string>
<key>name</key>
<string>entity.other.attribute-name.html</string>
</dict>
<key>tag-id-attribute</key>
<dict>
<key>begin</key>
<string>\b(id)\b\s*(=)</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>entity.other.attribute-name.id.html</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>punctuation.separator.key-value.html</string>
</dict>
</dict>
<key>end</key>
<string>(?<='|")</string>
<key>name</key>
<string>meta.attribute-with-value.id.html</string>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>"</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.html</string>
</dict>
</dict>
<key>contentName</key>
<string>meta.toc-list.id.html</string>
<key>end</key>
<string>"</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.html</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.double.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#embedded-code</string>
</dict>
<dict>
<key>include</key>
<string>#entities</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>'</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.begin.html</string>
</dict>
</dict>
<key>contentName</key>
<string>meta.toc-list.id.html</string>
<key>end</key>
<string>'</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.string.end.html</string>
</dict>
</dict>
<key>name</key>
<string>string.quoted.single.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#embedded-code</string>
</dict>
<dict>
<key>include</key>
<string>#entities</string>
</dict>
</array>
</dict>
</array>
</dict>
<key>tag-stuff</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#tag-id-attribute</string>
</dict>
<dict>
<key>include</key>
<string>#tag-generic-attribute</string>
</dict>
<dict>
<key>include</key>
<string>#string-double-quoted</string>
</dict>
<dict>
<key>include</key>
<string>#string-single-quoted</string>
</dict>
<dict>
<key>include</key>
<string>#embedded-code</string>
</dict>
</array>
</dict>
</dict>
<key>scopeName</key>
<string>text.html.basic</string>
<key>uuid</key>
<string>17994EC8-6B1D-11D9-AC3A-000D93589AF6</string>
</dict>
</plist>
PK ij?`* `* html_completions.pyimport sublime, sublime_plugin
import re
def match(rex, str):
m = rex.match(str)
if m:
return m.group(0)
else:
return None
# This responds to on_query_completions, but conceptually it's expanding
# expressions, rather than completing words.
#
# It expands these simple expressions:
# tag.class
# tag#id
class HtmlCompletions(sublime_plugin.EventListener):
def on_query_completions(self, view, prefix, locations):
# Only trigger within HTML
if not view.match_selector(locations[0],
"text.html - source - meta.tag, punctuation.definition.tag.begin"):
return []
# Get the contents of each line, from the beginning of the line to
# each point
lines = [view.substr(sublime.Region(view.line(l).a, l))
for l in locations]
# Reverse the contents of each line, to simulate having the regex
# match backwards
lines = [l[::-1] for l in lines]
# Check the first location looks like an expression
rex = re.compile("([\w-]+)([.#])(\w+)")
expr = match(rex, lines[0])
if not expr:
return []
# Ensure that all other lines have identical expressions
for i in xrange(1, len(lines)):
ex = match(rex, lines[i])
if ex != expr:
return []
# Return the completions
arg, op, tag = rex.match(expr).groups()
arg = arg[::-1]
tag = tag[::-1]
expr = expr[::-1]
if op == '.':
snippet = "<{0} class=\"{1}\">$1</{0}>$0".format(tag, arg)
else:
snippet = "<{0} id=\"{1}\">$1</{0}>$0".format(tag, arg)
return [(expr, snippet)]
# Provide completions that match just after typing an opening angle bracket
class TagCompletions(sublime_plugin.EventListener):
def on_query_completions(self, view, prefix, locations):
# Only trigger within HTML
if not view.match_selector(locations[0],
"text.html - source"):
return []
pt = locations[0] - len(prefix) - 1
ch = view.substr(sublime.Region(pt, pt + 1))
if ch != '<':
return []
return ([
("a\tTag", "a href=\"$1\">$2</a>"),
("abbr\tTag", "abbr>$1</abbr>"),
("acronym\tTag", "acronym>$1</acronym>"),
("address\tTag", "address>$1</address>"),
("applet\tTag", "applet>$1</applet>"),
("area\tTag", "area>$1</area>"),
("b\tTag", "b>$1</b>"),
("base\tTag", "base>$1</base>"),
("big\tTag", "big>$1</big>"),
("blockquote\tTag", "blockquote>$1</blockquote>"),
("body\tTag", "body>$1</body>"),
("button\tTag", "button>$1</button>"),
("center\tTag", "center>$1</center>"),
("caption\tTag", "caption>$1</caption>"),
("cdata\tTag", "cdata>$1</cdata>"),
("cite\tTag", "cite>$1</cite>"),
("col\tTag", "col>$1</col>"),
("colgroup\tTag", "colgroup>$1</colgroup>"),
("code\tTag", "code>$1</code>"),
("div\tTag", "div>$1</div>"),
("dd\tTag", "dd>$1</dd>"),
("del\tTag", "del>$1</del>"),
("dfn\tTag", "dfn>$1</dfn>"),
("dl\tTag", "dl>$1</dl>"),
("dt\tTag", "dt>$1</dt>"),
("em\tTag", "em>$1</em>"),
("fieldset\tTag", "fieldset>$1</fieldset>"),
("font\tTag", "font>$1</font>"),
("form\tTag", "form>$1</form>"),
("frame\tTag", "frame>$1</frame>"),
("frameset\tTag", "frameset>$1</frameset>"),
("head\tTag", "head>$1</head>"),
("h1\tTag", "h1>$1</h1>"),
("h2\tTag", "h2>$1</h2>"),
("h3\tTag", "h3>$1</h3>"),
("h4\tTag", "h4>$1</h4>"),
("h5\tTag", "h5>$1</h5>"),
("h6\tTag", "h6>$1</h6>"),
("i\tTag", "i>$1</i>"),
("iframe\tTag", "iframe src=\"$1\"></iframe>"),
("ins\tTag", "ins>$1</ins>"),
("kbd\tTag", "kbd>$1</kbd>"),
("li\tTag", "li>$1</li>"),
("label\tTag", "label>$1</label>"),
("legend\tTag", "legend>$1</legend>"),
("link\tTag", "link rel=\"stylesheet\" type=\"text/css\" href=\"$1\">"),
("map\tTag", "map>$1</map>"),
("noframes\tTag", "noframes>$1</noframes>"),
("object\tTag", "object>$1</object>"),
("ol\tTag", "ol>$1</ol>"),
("optgroup\tTag", "optgroup>$1</optgroup>"),
("option\tTag", "option>$0</option>"),
("p\tTag", "p>$1</p>"),
("pre\tTag", "pre>$1</pre>"),
("span\tTag", "span>$1</span>"),
("samp\tTag", "samp>$1</samp>"),
("script\tTag", "script type=\"${1:text/javascript}\">$0</script>"),
("style\tTag", "style type=\"${1:text/css}\">$0</style>"),
("select\tTag", "select>$1</select>"),
("small\tTag", "small>$1</small>"),
("strong\tTag", "strong>$1</strong>"),
("sub\tTag", "sub>$1</sub>"),
("sup\tTag", "sup>$1</sup>"),
("table\tTag", "table>$1</table>"),
("tbody\tTag", "tbody>$1</tbody>"),
("td\tTag", "td>$1</td>"),
("textarea\tTag", "textarea>$1</textarea>"),
("tfoot\tTag", "tfoot>$1</tfoot>"),
("th\tTag", "th>$1</th>"),
("thead\tTag", "thead>$1</thead>"),
("title\tTag", "title>$1</title>"),
("tr\tTag", "tr>$1</tr>"),
("tt\tTag", "tt>$1</tt>"),
("u\tTag", "u>$1</u>"),
("ul\tTag", "ul>$1</ul>"),
("var\tTag", "var>$1</var>"),
("br\tTag", "br>"),
("embed\tTag", "embed>"),
("hr\tTag", "hr>"),
("img\tTag", "img src=\"$1\">"),
("input\tTag", "input>"),
("meta\tTag", "meta>"),
("param\tTag", "param name=\"$1\" value=\"$2\">"),
("article\tTag", "article>$1</article>"),
("aside\tTag", "aside>$1</aside>"),
("audio\tTag", "audio>$1</audio>"),
("canvas\tTag", "canvas>$1</canvas>"),
("footer\tTag", "footer>$1</footer>"),
("header\tTag", "header>$1</header>"),
("nav\tTag", "nav>$1</nav>"),
("section\tTag", "section>$1</section>"),
("video\tTag", "video>$1</video>"),
("A\tTag", "A HREF=\"$1\">$2</A>"),
("ABBR\tTag", "ABBR>$1</ABBR>"),
("ACRONYM\tTag", "ACRONYM>$1</ACRONYM>"),
("ADDRESS\tTag", "ADDRESS>$1</ADDRESS>"),
("APPLET\tTag", "APPLET>$1</APPLET>"),
("AREA\tTag", "AREA>$1</AREA>"),
("B\tTag", "B>$1</B>"),
("BASE\tTag", "BASE>$1</BASE>"),
("BIG\tTag", "BIG>$1</BIG>"),
("BLOCKQUOTE\tTag", "BLOCKQUOTE>$1</BLOCKQUOTE>"),
("BODY\tTag", "BODY>$1</BODY>"),
("BUTTON\tTag", "BUTTON>$1</BUTTON>"),
("CENTER\tTag", "CENTER>$1</CENTER>"),
("CAPTION\tTag", "CAPTION>$1</CAPTION>"),
("CDATA\tTag", "CDATA>$1</CDATA>"),
("CITE\tTag", "CITE>$1</CITE>"),
("COL\tTag", "COL>$1</COL>"),
("COLGROUP\tTag", "COLGROUP>$1</COLGROUP>"),
("CODE\tTag", "CODE>$1</CODE>"),
("DIV\tTag", "DIV>$1</DIV>"),
("DD\tTag", "DD>$1</DD>"),
("DEL\tTag", "DEL>$1</DEL>"),
("DFN\tTag", "DFN>$1</DFN>"),
("DL\tTag", "DL>$1</DL>"),
("DT\tTag", "DT>$1</DT>"),
("EM\tTag", "EM>$1</EM>"),
("FIELDSET\tTag", "FIELDSET>$1</FIELDSET>"),
("FONT\tTag", "FONT>$1</FONT>"),
("FORM\tTag", "FORM>$1</FORM>"),
("FRAME\tTag", "FRAME>$1</FRAME>"),
("FRAMESET\tTag", "FRAMESET>$1</FRAMESET>"),
("HEAD\tTag", "HEAD>$1</HEAD>"),
("H1\tTag", "H1>$1</H1>"),
("H2\tTag", "H2>$1</H2>"),
("H3\tTag", "H3>$1</H3>"),
("H4\tTag", "H4>$1</H4>"),
("H5\tTag", "H5>$1</H5>"),
("H6\tTag", "H6>$1</H6>"),
("I\tTag", "I>$1</I>"),
("IFRAME\tTag", "IFRAME src=\"$1\"></IFRAME>"),
("INS\tTag", "INS>$1</INS>"),
("KBD\tTag", "KBD>$1</KBD>"),
("LI\tTag", "LI>$1</LI>"),
("LABEL\tTag", "LABEL>$1</LABEL>"),
("LEGEND\tTag", "LEGEND>$1</LEGEND>"),
("LINK\tTag", "LINK>$1</LINK>"),
("MAP\tTag", "MAP>$1</MAP>"),
("NOFRAMES\tTag", "NOFRAMES>$1</NOFRAMES>"),
("OBJECT\tTag", "OBJECT>$1</OBJECT>"),
("OL\tTag", "OL>$1</OL>"),
("OPTGROUP\tTag", "OPTGROUP>$1</OPTGROUP>"),
("OPTION\tTag", "OPTION>$1</OPTION>"),
("P\tTag", "P>$1</P>"),
("PRE\tTag", "PRE>$1</PRE>"),
("SPAN\tTag", "SPAN>$1</SPAN>"),
("SAMP\tTag", "SAMP>$1</SAMP>"),
("SCRIPT\tTag", "SCRIPT TYPE=\"${1:text/javascript}\">$0</SCRIPT>"),
("STYLE\tTag", "STYLE TYPE=\"${1:text/css}\">$0</STYLE>"),
("SELECT\tTag", "SELECT>$1</SELECT>"),
("SMALL\tTag", "SMALL>$1</SMALL>"),
("STRONG\tTag", "STRONG>$1</STRONG>"),
("SUB\tTag", "SUB>$1</SUB>"),
("SUP\tTag", "SUP>$1</SUP>"),
("TABLE\tTag", "TABLE>$1</TABLE>"),
("TBODY\tTag", "TBODY>$1</TBODY>"),
("TD\tTag", "TD>$1</TD>"),
("TEXTAREA\tTag", "TEXTAREA>$1</TEXTAREA>"),
("TFOOT\tTag", "TFOOT>$1</TFOOT>"),
("TH\tTag", "TH>$1</TH>"),
("THEAD\tTag", "THEAD>$1</THEAD>"),
("TITLE\tTag", "TITLE>$1</TITLE>"),
("TR\tTag", "TR>$1</TR>"),
("TT\tTag", "TT>$1</TT>"),
("U\tTag", "U>$1</U>"),
("UL\tTag", "UL>$1</UL>"),
("VAR\tTag", "VAR>$1</VAR>"),
("BR\tTag", "BR>"),
("EMBED\tTag", "EMBED>"),
("HR\tTag", "HR>"),
("IMG\tTag", "IMG SRC=\"$1\">"),
("INPUT\tTag", "INPUT>"),
("META\tTag", "META>"),
("PARAM\tTag", "PARAM NAME=\"$1\" VALUE=\"$2\">)"),
("ARTICLE\tTag", "ARTICLE>$1</ARTICLE>"),
("ASIDE\tTag", "ASIDE>$1</ASIDE>"),
("AUDIO\tTag", "AUDIO>$1</AUDIO>"),
("CANVAS\tTag", "CANVAS>$1</CANVAS>"),
("FOOTER\tTag", "FOOTER>$1</FOOTER>"),
("HEADER\tTag", "HEADER>$1</HEADER>"),
("NAV\tTag", "NAV>$1</NAV>"),
("SECTION\tTag", "SECTION>$1</SECTION>"),
("VIDEO\tTag", "VIDEO>$1</VIDEO>")
], sublime.INHIBIT_WORD_COMPLETIONS | sublime.INHIBIT_EXPLICIT_COMPLETIONS)
PK J@%)r' ' Miscellaneous.tmPreferences<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Miscellaneous</string>
<key>scope</key>
<string>text.html</string>
<key>settings</key>
<dict>
<key>decreaseIndentPattern</key>
<string>(?x)
^\s*
(</(?!html)
[A-Za-z0-9]+\b[^>]*>
|-->
|<\?(php)?\s+(else(if)?|end(if|for(each)?|while))
|\}
)</string>
<key>increaseIndentPattern</key>
<string>(?x)
^\s*
<(?!\?|area|base|br|col|frame|hr|html|img|input|link|meta|param|[^>]*/>)
([A-Za-z0-9]+)(?=\s|>)\b[^>]*>(?!.*</\1>)
|<!--(?!.*-->)
|<\?php.+?\b(if|else(?:if)?|for(?:each)?|while)\b.*:(?!.*end\1)
|\{[^}"']*$
</string>
<key>bracketIndentNextLinePattern</key>
<string><!DOCTYPE(?!.*>)</string>
</dict>
</dict>
</plist>PK hZ=f Symbol List - ID.tmPreferences<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Symbol List: ID</string>
<key>scope</key>
<string>text.html meta.toc-list.id.html</string>
<key>settings</key>
<dict>
<key>symbolTransformation</key>
<string>s/^/ID: /</string>
</dict>
<key>uuid</key>
<string>E7C5859E-122D-4382-84BE-5AB584DC2409</string>
</dict>
</plist>
PK hZ=5}| Comments.tmPreferencesPK >!X encode_html_entities.pyPK ij?j) ) = HTML.sublime-completionsPK f?m7ݸ "0 html.sublime-snippetPK Y?^ZX ZX 1 HTML.tmLanguagePK ij?`* `* html_completions.pyPK J@%)r' ' Miscellaneous.tmPreferencesPK hZ=f | Symbol List - ID.tmPreferencesPK $