I rewrote a bunch of stuff in my Balance Jr Command. I made a new screencast.
Blog Post http://subtlegradient.com/articles/2006/05/06/balance-jr-2-0-for- textmate-screencast
Download in a zip http://trippledoubleyou.subtlegradient.com/textmate/ tAylott_subtleGradient.tmbundle.zip
Subscribe with SVN http://textmate.svn.subtlegradient.com/Bundles/ tAylott_subtleGradient.tmbundle/
enjoy
Take that, Intelligent Jump! ;)
thomas Aylott subtleGradient oblivious@subtleGradient.com
Well, now that I've watched the screencast, I can now say that I finally understand the philosophy behind your balance jr command, namely that prev is used to fine tune and next is used to grab (more or less). This is a good thing Ibelieve :) However, how did you select that one div-tag and change it with the end tag?
Also, I'd suggest a change in the oh so wonderful add html-attribute, it should add it to the current tag the caret is in if at all possible. Scenario (| means caret) <p|> this I believe should add an attribute in that p-tag, however, it jumps to the next instead. So, while inside the <> characters, I believe it should stick to that tag.
Andreas
On May 6, 2006, at 23:05 , thomas Aylott wrote:
I rewrote a bunch of stuff in my Balance Jr Command. I made a new screencast.
Blog Post http://subtlegradient.com/articles/2006/05/06/balance-jr-2-0-for- textmate-screencast
Download in a zip http://trippledoubleyou.subtlegradient.com/textmate/ tAylott_subtleGradient.tmbundle.zip
Subscribe with SVN http://textmate.svn.subtlegradient.com/Bundles/ tAylott_subtleGradient.tmbundle/
enjoy
Take that, Intelligent Jump! ;)
thomas Aylott subtleGradient oblivious@subtleGradient.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
I rewrote a bunch of stuff in my Balance Jr Command. I made a new screencast.
Blog Post http://subtlegradient.com/articles/2006/05/06/balance-jr-2-0-for- textmate-screencast
Download in a zip http://trippledoubleyou.subtlegradient.com/textmate/ tAylott_subtleGradient.tmbundle.zip
Subscribe with SVN http://textmate.svn.subtlegradient.com/Bundles/ tAylott_subtleGradient.tmbundle/
Well, now that I've watched the screencast, I can now say that I finally understand the philosophy behind your balance jr command, namely that prev is used to fine tune and next is used to grab (more or less). This is a good thing Ibelieve :)
Also, prev is used to select the surrounding contents of the caret. You use PREV inside of a string to select the contents of that string for example.
However, how did you select that one div-tag and change it with the end tag?
That is Duane's Intelligent Jump http://blog.inquirylabs.com/2006/05/02/new-feature-intelligent-jump/
I changed his keystrokes to shift-home and shift-end
Also, I'd suggest a change in the oh so wonderful add html- attribute, it should add it to the current tag the caret is in if at all possible. Scenario (| means caret) <p|> this I believe should add an attribute in that p-tag, however, it jumps to the next instead. So, while inside the <> characters, I believe it should stick to that tag.
Andreas
You are, of course, completely right. I have been meaning to fix that, but hadn't gotten around to it yet :-! I'll let you know when I do
subtleGradient
However, how did you select that one div-tag and change it with the end tag?
That is Duane's Intelligent Jump http://blog.inquirylabs.com/2006/05/02/new-feature-intelligent-jump/
Ah, ok. I thought you had somehow gotten the best of both worlds :)
You are, of course, completely right. I have been meaning to fix that, but hadn't gotten around to it yet :-! I'll let you know when I do
Great, I look forward to hours of saved time :D
Andreas
Balance Jr 2.5
I rewrote a bunch of stuff in my Balance Jr Commands. I did not make a new screencast.
This one is good for HTML, CSS & ruby on rails related stuff It's not that great for javascript.
I'm going to make a new Balance Jr for javascript and related curly bracketed languages. Eventually
Blog Post http://subtlegradient.com/articles/2006/05/12/balance-jr-2-5-for- textmate
Download in a zip http://trippledoubleyou.subtlegradient.com/textmate/ tAylott_subtleGradient.tmbundle.zip
Subscribe with SVN http://textmate.svn.subtlegradient.com/Bundles/ tAylott_subtleGradient.tmbundle/
enjoy
thomas Aylott—subtleGradient—oblivious@subtleGradient.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On May 12, 2006, at 2:26 PM, thomas Aylott wrote:
I'm going to make a new Balance Jr for javascript and related curly bracketed languages. Eventually
.. And LaTeX hint hint.
It's a good thing you signed that. It would have been a shame it that message had fallen into the wrong hands ;) Seriously, though.
What should a Balance Jr in LaTeX select? What is the silliest name you can think of for the command?
On May 12, 2006, at 6:13 PM, Robert M. Ullrey wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On May 12, 2006, at 2:26 PM, thomas Aylott wrote:
I'm going to make a new Balance Jr for javascript and related curly bracketed languages. Eventually
.. And LaTeX hint hint. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEZQhu0ZwlS5OIzRcRAgIEAJ471hKbL2ThUjDP7Ueh/yG3BzSv6QCgkTYL 3X0WvUsqb55pKhV8MGU3c6w= =V0lX -----END PGP SIGNATURE-----
thomas Aylott—subtleGradient—oblivious@subtleGradient.com
These are the ones called (42) Balance Jr (Right hand) and not the Balance JR NEXT? Also, I'd like to report/nag that the add html attribute bug where caret is last in the tag is still present. Also, I'd like to encourage as much javascript support as you can muster :) (I'm starting a new javascript-coding job on monday)
Andreas
On May 12, 2006, at 23:26 , thomas Aylott wrote:
Balance Jr 2.5
I rewrote a bunch of stuff in my Balance Jr Commands. I did not make a new screencast.
This one is good for HTML, CSS & ruby on rails related stuff It's not that great for javascript.
I'm going to make a new Balance Jr for javascript and related curly bracketed languages. Eventually
Blog Post http://subtlegradient.com/articles/2006/05/12/balance-jr-2-5-for- textmate
Download in a zip http://trippledoubleyou.subtlegradient.com/textmate/ tAylott_subtleGradient.tmbundle.zip
Subscribe with SVN http://textmate.svn.subtlegradient.com/Bundles/ tAylott_subtleGradient.tmbundle/
enjoy
thomas Aylott—subtleGradient—oblivious@subtleGradient.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On May 13, 2006, at 3:05 AM, Andreas Wahlin wrote:
These are the ones called (42) Balance Jr (Right hand) and not the Balance JR NEXT?
Right. In the latest release in svn I deleted the older ones.
Also, I'd like to report/nag that the add html attribute bug where caret is last in the tag is still present.
I rewrote the command, but it didn't really help. I added a snippet class="whatever" bound to the key equivalent "=". That's what I use when my cursor is in the right place already. But, you're right. I need to make it work there too. Consarnit! ;)
Also, I'd like to encourage as much javascript support as you can muster :) (I'm starting a new javascript-coding job on monday)
Yeah, I agree. I sometimes do weeks worth of work in nothing but JS. I hastily tacked on some javascript stuff into balance jr 2.0. I realized a bit after I had released it that it screwed a bunch of other stuff up. I've fiddled and fiddled with it. And I'm not convinced that there is no simple way to make a single Balance Jr that'll work in all languages. So, I'm going to make a separate set for each major set of languages. The current default one is good for XML-esque languages, as well as CSS. A curly bracketed version scoped properly will be my next release.
This is now your time to influence how i design that version. What do you want to be included in the Shemp Jr 1.0 release? What should be selected, and in what order?
I'm thinking: strings, round & curly brackets, js objects, comma delimited stuff, js functions & obvious variables. I'm not too sure about those last two. What do you guys think?
thomas Aylott—subtleGradient—oblivious@subtleGradient.com
This would of course be the ideal time to affect my working environmet, but unfortunately I can't really think of anything much. Actually, it seems to work pretty ok as it is now :/
Andreas
Cool, Thomas! I'll have to check out your new regexp fu.
Duane Johnson
On May 12, 2006, at 3:26 PM, thomas Aylott wrote:
Balance Jr 2.5
I rewrote a bunch of stuff in my Balance Jr Commands. I did not make a new screencast.
This one is good for HTML, CSS & ruby on rails related stuff It's not that great for javascript.
I'm going to make a new Balance Jr for javascript and related curly bracketed languages. Eventually
Blog Post http://subtlegradient.com/articles/2006/05/12/balance-jr-2-5-for- textmate
Download in a zip http://trippledoubleyou.subtlegradient.com/textmate/ tAylott_subtleGradient.tmbundle.zip
Subscribe with SVN http://textmate.svn.subtlegradient.com/Bundles/ tAylott_subtleGradient.tmbundle/
enjoy
thomas Aylott—subtleGradient—oblivious@subtleGradient.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate