Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

renamed files

  • Loading branch information...
commit 6e3d4976a55fab8e36f0d120f4bbfbdec357a255 1 parent 587d124
Nicolas Perriault authored
Showing with 13 additions and 13 deletions.
  1. +12 −12 Default.sublime-commands
  2. +1 −1  SublimeHighlight.py
24 Default.sublime-commands
View
@@ -1,16 +1,16 @@
[
/* in SublimeText conversions */
{
- "caption": "Highlight: convert to HTML",
- "command": "highlight_export",
+ "caption": "SublimeHighlight: convert to HTML",
+ "command": "sublime_highlight",
"args": {
"target": "sublime",
"output_type": "html"
}
},
{
- "caption": "Highlight: convert to RTF",
- "command": "highlight_export",
+ "caption": "SublimeHighlight: convert to RTF",
+ "command": "sublime_highlight",
"args": {
"target": "sublime",
"output_type": "rtf"
@@ -18,16 +18,16 @@
},
/* in SublimeText rendering */
{
- "caption": "Highlight: view as HTML",
- "command": "highlight_export",
+ "caption": "SublimeHighlight: view as HTML",
+ "command": "sublime_highlight",
"args": {
"target": "external",
"output_type": "html"
}
},
{
- "caption": "Highlight: view as RTF",
- "command": "highlight_export",
+ "caption": "SublimeHighlight: view as RTF",
+ "command": "sublime_highlight",
"args": {
"target": "external",
"output_type": "rtf"
@@ -35,16 +35,16 @@
},
/* Clipboard exports */
{
- "caption": "Highlight: copy to clipboard as HTML",
- "command": "highlight_export",
+ "caption": "SublimeHighlight: copy to clipboard as HTML",
+ "command": "sublime_highlight",
"args": {
"target": "clipboard",
"output_type": "html"
}
},
{
- "caption": "Highlight: copy to clipboard as RTF",
- "command": "highlight_export",
+ "caption": "SublimeHighlight: copy to clipboard as RTF",
+ "command": "sublime_highlight",
"args": {
"target": "clipboard",
"output_type": "rtf"
2  SublimeHighlight.py
View
@@ -23,7 +23,7 @@ def get_template(**kwargs):
return HTML_TEMPLATE % dict(**kwargs)
-class HighlightExportCommand(sublime_plugin.TextCommand):
+class SublimeHighlightCommand(sublime_plugin.TextCommand):
"""Code highlighter command."""
def run(self, edit, target='external', output_type='html'):
Please sign in to comment.
Something went wrong with that request. Please try again.