After pressing Esc for word completion TxMt stops tab-completion on the snippet. Is this a feature or a bug? Cheers, Ben ___________________ Ben Jackson Diretor de Desenvolvimento
ben@incomumdesign.com http://www.incomumdesign.com
Just checked this out a little further and it turns out it's not esc-completion that's breaking out of the snippet, but rather spaces... here's my snippet:
private function($1) { $2 }$0
This works fine:
private function(myArg) { // some code }
But this breaks the snippet:
private function(myArg, anotherArg) { // some more code }
Cheers, Ben ___________________ Ben Jackson Diretor de Desenvolvimento
ben@incomumdesign.com http://www.incomumdesign.com
On 12/09/2005, at 23.50, Benjamin Jackson wrote:
Just checked this out a little further and it turns out it's not esc-completion that's breaking out of the snippet, but rather spaces... here's my snippet:
private function($1) { $2 }$0
[...] But this breaks the snippet:
private function(myArg, anotherArg) { // some more code }
How do you mean break? I just tried it, exact duplicate of your snippet and input, and it works fine tabbing me from argument position to body to after the closing bracket.
-- Sune.
How do you mean break? I just tried it, exact duplicate of your snippet and input, and it works fine tabbing me from argument position to body to after the closing bracket.
I mean break as in not behave the way it's apparently behaving for you ;)
I just tried it with the exact input as well (the snippet I sent was missing the tab stop for the function name but it seems to not make a difference) and it's not working for me in b17, with no scope settings for the snippet (so I assume it's not a bundle issue). ___________________ Ben Jackson Diretor de Desenvolvimento
ben@incomumdesign.com http://www.incomumdesign.com
On 13/09/2005, at 2.26, Benjamin Jackson wrote:
How do you mean break? I just tried it, exact duplicate of your snippet and input, and it works fine tabbing me from argument position to body to after the closing bracket.
I mean break as in not behave the way it's apparently behaving for you ;) I just tried it with the exact input as well (the snippet I sent was missing the tab stop for the function name but it seems to not make a difference) and it's not working for me in b17, with no scope settings for the snippet (so I assume it's not a bundle issue).
Hm, weird. I am using the nightly build rev. 392, but I am not aware of any bugs being corrected with respect to this. You could try grab the latest, though[1].
-- Sune.