feat(ST2.EditorPackages): bump up all packages
- Refresh PackageCache with latest versions of everything
This commit is contained in:
@@ -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 </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(" ", ' '),
|
||||
"code_id": num,
|
||||
"code": line,
|
||||
@@ -578,12 +579,17 @@ class ExportHtml(object):
|
||||
'&': '&',
|
||||
'>': '>',
|
||||
'<': '<',
|
||||
'\t': ' ' * self.tab_size,
|
||||
' ': ' ',
|
||||
'\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',
|
||||
' ',
|
||||
''.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)
|
||||
|
Reference in New Issue
Block a user