Hello everyone,
I have several python plugins that I use for work that are no longer functional with the update to build 4166 and 4169.
In short: I am no longer able to use TextCommand plugins to insert text into a new file. Here is the snippet of code that is no longer functional:
newFile = self.view.window().new_file()
newFile.insert(edit,0,output)
from some output string that is generated earlier in the plugin. I’ve narrowed it down to these lines by using print statements to validate the output string. The string is correct in the console so I know that the rest of the plugin is working as expected to create the output string. But I can no longer insert that string into a new file. When I run the plugin I do not get any error messages and it does open a new file but the output string does not get inserted into it.
Thank you for your help!