In the file:
Should that be
True rather than true?
~ Thanks, Rob
Details.
File:
/Users/xxx_iMac/Library/Application Support/Sublime Text 2/Packages/Default/Delete Line.sublime-macro
{"command": "expand_selection", "args": {"to": "line"}},
{"command": "add_to_kill_ring", "args": {"forward": true}},
{"command": "left_delete"}
]
I get error in my plugin (snippet here), unless I change true to True
import sublime, sublime_plugin
class ppCommand(sublime_plugin.TextCommand):
def run(self, edit):
self.view.run_command("expand_selection", {"to": "line"})
self.view.run_command("add_to_kill_ring", {"forward": True})
self.view.run_command("left_delete")
Thanks,
Rob