All,
I am trying to run some commands in my custom plugin. It runs fine except for 1 task: move the cursor to a specific position.
I used “goto_row_col” command to move the cursor to a specific position (e.g. move the cursor to 1st Column on Row 1 in this example). But, this does not work.
self.window.active_view().run_command(“goto_row_col”,{“row”: 1, “col”: 1})
If I try to run below to delete a line, it works.
self.window.active_view().run_command(“run_macro_file”, {“file”: “res://Packages/Default/Delete Line.sublime-macro”})
So, I would assume that something after “run_command” is incorrect, but I don’t know what to change.
Thank you very much for your help in advance.