Can anyone please explain to me how to change the insertion point of the text (“Hello, World!”) to wherever the cursor happens to be whenever the plugin is activated?
[code]import sublime, sublime_plugin
class ExampleCommand(sublime_plugin.TextCommand):
def run(self, edit):
self.view.insert(edit, 0, “Hello, World!”)
[/code]