Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken in Sublime Text 4160, shows up as blank #25

Open
dsego opened this issue Oct 25, 2023 · 2 comments
Open

Broken in Sublime Text 4160, shows up as blank #25

dsego opened this issue Oct 25, 2023 · 2 comments

Comments

@dsego
Copy link

dsego commented Oct 25, 2023

No error message in the console either, a new tab is opened but it remains empty. Not sure actually which version broke this package, but it's one of the newer ones, since this worked up until recently.

Mac OS Sonoma 14
Sublime Text 4160

@dsego dsego changed the title No commit message shown in Sublime Text 4160 Broken in Sublime Text 4160, shows up as blank Oct 25, 2023
@dsego
Copy link
Author

dsego commented Oct 26, 2023

Some debugging tells me that chars = new_file.insert(edit, 0, result) returns 0 inserted chars.

@dsego
Copy link
Author

dsego commented Oct 26, 2023

sublimehq/sublime_text#6177 (comment)

Seems like the plugin was misusing an API mistake that has been fixed recently.

https://www.sublimetext.com/docs/api_reference.html#sublime.Edit

Using an invalid Edit object, or an Edit object from a different View, will cause the functions that require them to fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant