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

Delete auto-matched bracket/quote affected #1

Open
phillipkoebbe opened this issue Apr 16, 2012 · 6 comments
Open

Delete auto-matched bracket/quote affected #1

phillipkoebbe opened this issue Apr 16, 2012 · 6 comments

Comments

@phillipkoebbe
Copy link

I just discovered that Gobble interfere's with ST2's default behavior of deleting the matched bracket or quote when auto-matching. For example, if I type an open parenthesis ST2 automatically inserts the closing one. If I then backspace to delete the opening one, ST2 automatically deletes the closing one. This behavior is "disabled" when Gobble is installed.

@skyronic
Copy link
Owner

Hey,

I fixed the issue. Will push the changes in about 5 mins after verifying it works properly

@phillipkoebbe
Copy link
Author

I pulled the latest zip, but Gobble doesn't work now. Even restarted ST2 to make sure it reloaded.

@skyronic skyronic reopened this Apr 16, 2012
@skyronic
Copy link
Owner

I am not sure why it isn't working for you? What OS Are you on?

One major change I made is replaced all the OS-dependent keybindings with a common keybinding file.

@phillipkoebbe
Copy link
Author

OSX 10.7.3.

I even tried copying the one Default.sublime-keymap file to the three platform ones, but it didn't make a difference.

I'll shutdown ST2, delete the Gobble folder, download the zip, and try again. Maybe I goofed somewhere without realizing it. If that doesn't work, I'll restore the Gobble folder from backup and start again.

@skyronic
Copy link
Owner

Hey Phillip,

Thanks for the report. I found the bug and have fixed it, will push a
commit in about 5-10 minutes.

On Mon, Apr 16, 2012 at 7:40 PM, Phillip Koebbe <
reply@reply.github.com

wrote:

I just discovered that Gobble interfere's with ST2's default behavior of
deleting the matched bracket or quote when auto-matching. For example, if I
type an open parenthesis ST2 automatically inserts the closing one. If I
then backspace to delete the opening one, ST2 automatically deletes the
closing one. This behavior is "disabled" when Gobble is installed.


Reply to this email directly or view it on GitHub:
#1

@phillipkoebbe
Copy link
Author

It's working. I had actually forgotten exactly what Gobble is intended to do. I was trying to delete the whole line and expect the cursor to jump to the previous line instead of deleting from the beginning of an existing line. When I delete from the beginning of a line, it works as expected.

Sorry for the wild goose chase. Thanks for the quick response!

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

2 participants