feat(ST2.EditorPackages): bump up all packages

- Refresh PackageCache with latest versions of everything
This commit is contained in:
Iristyle
2013-09-16 22:29:05 -04:00
parent 951be33c9e
commit 5ed4214a22
180 changed files with 9360 additions and 1211 deletions

View File

@@ -44,7 +44,7 @@
<key>bracketContentsForeground</key>
<string>#000000</string>
<key>bracketContentsOptions</key>
<string>underline</string> -->
<string>underline</string>
<key>tagsOptions</key>
<string>stippled_underline</string>

View File

@@ -60,13 +60,13 @@ ANNOTATE_CLOSE = '''</span>'''
BODY_START = '''<body class="code_page code_text"><pre class="code_page">'''
FILE_INFO = '''<tr><td colspan="2"><div id="file_info"><span style="color: %(color)s">%(date_time)s %(file)s\n\n</span></div></td></tr>'''
FILE_INFO = '''<tr><td colspan="2" style="background: %(bgcolor)s"><div id="file_info"><span style="color: %(color)s">%(date_time)s %(file)s\n\n</span></div></td></tr>'''
TABLE_START = '''<table cellspacing="0" cellpadding="0" class="code_page">'''
LINE = (
'<tr>' +
'<td valign="top" id="L_%(table)d_%(line_id)d" class="code_text code_gutter">' +
'<td valign="top" id="L_%(table)d_%(line_id)d" class="code_text code_gutter" style="background: %(bgcolor)s">' +
'<span style="color: %(color)s;">%(line)s&nbsp;</span>' +
'</td>' +
'<td valign="top" class="code_text code_line" style="background-color: %(pad_color)s;">' +
@@ -500,6 +500,7 @@ class ExportHtml(object):
html_line = LINE % {
"line_id": num,
"color": self.gfground,
"bgcolor": self.gbground,
"line": str(num).rjust(self.gutter_pad).replace(" ", '&nbsp;'),
"code_id": num,
"code": line,
@@ -578,12 +579,17 @@ class ExportHtml(object):
'&': '&amp;',
'>': '&gt;',
'<': '&lt;',
'\t': '&nbsp;' * self.tab_size,
' ': '&nbsp;',
'\t': ' ' * self.tab_size,
'\n': ''
}
return ''.join(encode_table.get(c, c) for c in text).encode('ascii', 'xmlcharrefreplace')
return re.sub(
r'(?!\s($|\S))\s',
'&nbsp;',
''.join(
encode_table.get(c, c) for c in text
).encode('ascii', 'xmlcharrefreplace')
)
def get_annotations(self):
annotations = get_annotations(self.view)
@@ -789,6 +795,7 @@ class ExportHtml(object):
date_time = time.strftime(self.date_time_format, self.time)
the_html.write(
FILE_INFO % {
"bgcolor": self.bground,
"color": self.fground,
"date_time": date_time,
"file": self.file_name if self.show_full_path else path.basename(self.file_name)

View File

@@ -1 +1 @@
{"url": "https://github.com/facelessuser/ExportHtml", "version": "2013.03.29.23.39.49", "description": "Sublime Text - Export code to HTML for copying/printing/saving. Also, export code to BBCode for forum posts."}
{"url": "https://github.com/facelessuser/ExportHtml", "version": "2013.05.24.14.57.59", "description": "Sublime Text - Export code to HTML for copying/printing/saving. Also, export code to BBCode for forum posts."}