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

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

Comments

Projects
None yet
2 participants

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.

Owner

skyronic commented Apr 16, 2012

Hey,

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

@skyronic skyronic closed this in adc42b8 Apr 16, 2012

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

Owner

skyronic commented Apr 16, 2012

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.

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.

Owner

skyronic commented Apr 16, 2012

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

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