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

Sublime Text 3 support please? #8

Open
kaushikgopal opened this issue May 3, 2013 · 6 comments
Open

Sublime Text 3 support please? #8

kaushikgopal opened this issue May 3, 2013 · 6 comments

Comments

@kaushikgopal
Copy link

I think the plugin needs to be modified for ST3?

Here's the exception i'm getting from console:

File "...Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 270, in on_modified
callback.on_modified(v)
File ".../Application Support/Sublime Text 3/Packages/Bullet/Bullet.py", line 96, in on_modified
edit = view.begin_edit()
TypeError: begin_edit() missing 2 required positional arguments: 'edit_token' and 'cmd'

Cheers.

@yimingli
Copy link

+1

4 similar comments
@onlineth
Copy link

+1

@afloresescarcega
Copy link

+1

@SamPeck
Copy link

SamPeck commented Jun 7, 2018

+1

@shingotomiy
Copy link

+1

@pruppert
Copy link

pruppert commented Dec 7, 2022

I was wanting this updated also, now for Sublime Text 4. I figured out a simple fix, at least for markdown files (my main use case.

In Bullet.py, comment out the following lines 96, 97, and 98:

edit = view.begin_edit()
view.insert(edit, loc.end(), insertion)
view.end_edit(edit)

and paste the following on a newline 99:

view.run_command("insert", {"characters": insertion})

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

7 participants