Any of you happen to know how can i reload the content of the current file from a plugin? In my plugin i update the file contents using an external program, and at the end i want the view to reflect the updated file contents.
i tried adding the following to my plugin:
f = view.fileName();
wnd = view.window()
wnd.reloadFile(f, 0, 0)
but none seems to work, any suggestions?