Added Go to line number option
Added Go to line number option using AppleScript as you do ;).
Currently it's done sending the shortcut's keystroke "shift+command+l" which is the default. Any idea how to do this if the shortcut is modified?
I did it so I can integrate ir with Ruby's Pry console edit-method command. The only real issue is that optparse doesn't allow single-char options, so the "standard" way of "go to line" of some editors (which is
Thanks for the patch.
This issue has come up before (see #2) but I'm reluctant to use any of the approaches I came up with. This gist was the closest to acceptable. It's similar to yours, but still works if the shortcut has been changed. It won't, however, work in different languages.
It looks like Coda only includes support for English, Dutch and Japanese, so it wouldn't be too difficult to modify it to work with the other two languages as well.
I'm hopeful that Panic will include more / better apis to allow a clean solution to this in 2.0. I suppose we'll see soon enough :)