Not sure if this fits anywhere in the bundles, but I've added a BalanceJr-like command to my personal bundle that makes navigating Ruby, HTML and XML code a lot easier. Check it out if you're interested: http://blog.inquirylabs.com/2006/05/02/new-feature- intelligent-jump/
Duane Johnson (canadaduane) http://blog.inquirylabs.com/
Not sure if this fits anywhere in the bundles, but I've added a BalanceJr-like command to my personal bundle that makes navigating Ruby, HTML and XML code a lot easier. Check it out if you're interested: http://blog.inquirylabs.com/2006/05/02/new-feature- intelligent-jump/
Hey Duane ... very slick.
I liked the part where you edited the head <wrapper> tag and it changed the matching close tag ... which made me wonder if a similar function I thought would be cool is hiding somewhere and I just haven't found it.
Has anybody whipped up a macro which would, say in your example, if I'm in the <wrapper> tag jump me down to the </wrapper> tag and vice versa? You know .. not highlight what's in between, but jump forward and back.
That'd be pretty handy w/ xml type files as well as say source files to jump from the opening {,[,( to the closing },],) and what not.
I'm thinking it must be there somewhere but I'm missing it.
-steve
On May 2, 2006, at 11:24 AM, Duane Johnson wrote:
Duane Johnson (canadaduane) http://blog.inquirylabs.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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Duane. Great work!
With a little tweak your "intelli-jump" and incorporating Steve's suggestion would make this a very powerful LaTeX addition too.
Robert
On May 2, 2006, at 8:45 AM, Steve Lianoglou wrote:
Not sure if this fits anywhere in the bundles, but I've added a BalanceJr-like command to my personal bundle that makes navigating Ruby, HTML and XML code a lot easier. Check it out if you're interested: http://blog.inquirylabs.com/2006/05/02/new-feature- intelligent-jump/
Hey Duane ... very slick.
I liked the part where you edited the head <wrapper> tag and it changed the matching close tag ... which made me wonder if a similar function I thought would be cool is hiding somewhere and I just haven't found it.
Has anybody whipped up a macro which would, say in your example, if I'm in the <wrapper> tag jump me down to the </wrapper> tag and vice versa? You know .. not highlight what's in between, but jump forward and back.
That'd be pretty handy w/ xml type files as well as say source files to jump from the opening {,[,( to the closing },],) and what not.
I'm thinking it must be there somewhere but I'm missing it.
-steve
On May 2, 2006, at 11:24 AM, Duane Johnson wrote:
Duane Johnson (canadaduane) http://blog.inquirylabs.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
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
Duane. Great work!
Hear, hear! Fantastic stuff.
With a little tweak your "intelli-jump" and incorporating Steve's suggestion would make this a very powerful LaTeX addition too.
Not to mention other languages. In fact, it should be generalized to use custom TM environment variables for the regular expressions used to do the jumping. What do you think, Duane?
Regards,
Aparajita www.aparajitaworld.com
"If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoylibrary.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Just to report that intelli-jump works great in LaTeX as is within curly brackets "{}". However it is greedy with "[]" and selects all instead within the brackets.
Robert
On May 2, 2006, at 9:36 AM, Aparajita Fishman wrote:
Duane. Great work!
Hear, hear! Fantastic stuff.
With a little tweak your "intelli-jump" and incorporating Steve's suggestion would make this a very powerful LaTeX addition too.
Not to mention other languages. In fact, it should be generalized to use custom TM environment variables for the regular expressions used to do the jumping. What do you think, Duane?
Regards,
Aparajita www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.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 think this is a great idea, but Duane's home/end looses some functionality compared to Thomas', I'm thinking about for example $$('#mainMenu')[0].onmouseout = function() { on which I could navigate quickly from section to section so to speak with Thomas' commands, but with Duane's I only jump a character a time. Could these be merged to get everything from both?
Andreas
On May 3, 2006, at 1:07 , Robert M. Ullrey wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Just to report that intelli-jump works great in LaTeX as is within curly brackets "{}". However it is greedy with "[]" and selects all instead within the brackets.
Robert
On May 2, 2006, at 9:36 AM, Aparajita Fishman wrote:
Duane. Great work!
Hear, hear! Fantastic stuff.
With a little tweak your "intelli-jump" and incorporating Steve's suggestion would make this a very powerful LaTeX addition too.
Not to mention other languages. In fact, it should be generalized to use custom TM environment variables for the regular expressions used to do the jumping. What do you think, Duane?
Regards,
Aparajita www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.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
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin)
iD8DBQFEV+ZJ0ZwlS5OIzRcRAsF5AJ0cFJpzDikRAht32thfleigNifUSQCePRIW mpj2hTykTEH8NjHdY7BC528= =8b+q -----END PGP SIGNATURE-----
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 3, 2006, at 1:27 AM, Andreas Wahlin wrote:
I think this is a great idea, but Duane's home/end looses some functionality compared to Thomas', I'm thinking about for example $$('#mainMenu')[0].onmouseout = function() { on which I could navigate quickly from section to section so to speak with Thomas' commands, but with Duane's I only jump a character a time. Could these be merged to get everything from both?
Although it was inspired by his work, my purpose in creating the intelli-jump command was not necessarily to replace Thomas' work. In fact, there are some things that I specifically left out from the Balance Jr regular expression.
Nevertheless, I'm willing to take a look at expanding the intelli- jump "intelligence". Could you give me a larger sample text and explain where you expect the cursor to end up (or what you expect to be highlighted) when you press home / end?
Duane Johnson (canadaduane) http://blog.inquirylabs.com/
Well I've been toying around a bit, and it might be that my only problem is that you only use " to detect arguments, not ' like I use a lot in javascript. My big gripe was that nothing happened in a small javascript file I had, but then I discovered that things do happen in some javascript files with " to illustrate some_function('argument'); won't get captured but some_function("argument"); will.
Andreas
On May 3, 2006, at 18:35 , Duane Johnson wrote:
On May 3, 2006, at 1:27 AM, Andreas Wahlin wrote:
I think this is a great idea, but Duane's home/end looses some functionality compared to Thomas', I'm thinking about for example $$('#mainMenu')[0].onmouseout = function() { on which I could navigate quickly from section to section so to speak with Thomas' commands, but with Duane's I only jump a character a time. Could these be merged to get everything from both?
Although it was inspired by his work, my purpose in creating the intelli-jump command was not necessarily to replace Thomas' work. In fact, there are some things that I specifically left out from the Balance Jr regular expression.
Nevertheless, I'm willing to take a look at expanding the intelli- jump "intelligence". Could you give me a larger sample text and explain where you expect the cursor to end up (or what you expect to be highlighted) when you press home / end?
Duane Johnson (canadaduane) http://blog.inquirylabs.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 hope this works. Its my first time on these lists, and I'm totally sure on how they work. Anyway, here goes.
Hello all,
I'm relatively new to TextMate, only been using it for a few weeks, and I have decided it quite possibly the best way for me to develop my games, programs and websites in. Unfortunately it when I downloaded it did not do any BlitzMax, which is one of the main IDE's I use. I began to look around and I couldn't find one anywhere.
Anyway I began to develop my own, and I have just today gotten it to a working stage. There are still limitations in it, which I'm looking in to on how to correct.
Anyway, here is a link to a post on my blog about it, and where you can download it. I hope people like it, as it has taken quite a bit doing and learning of TextMate's bundle system.
Tom
It works good with the mailinglist. However, I suspect you answered a mail on the intelligent jump topic, which means that for some of us, your mail got sorted in under that topic. And now I've gone and done mor or less the same thing :)
Andreas
On May 5, 2006, at 16:32 , Tom Hancocks wrote:
I hope this works. Its my first time on these lists, and I'm totally sure on how they work. Anyway, here goes.
Hello all,
I'm relatively new to TextMate, only been using it for a few weeks, and I have decided it quite possibly the best way for me to develop my games, programs and websites in. Unfortunately it when I downloaded it did not do any BlitzMax, which is one of the main IDE's I use. I began to look around and I couldn't find one anywhere.
Anyway I began to develop my own, and I have just today gotten it to a working stage. There are still limitations in it, which I'm looking in to on how to correct.
Anyway, here is a link to a post on my blog about it, and where you can download it. I hope people like it, as it has taken quite a bit doing and learning of TextMate's bundle system.
Tom
http://www.freepgs.com/bluelaser/projects.php
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
sorry, should I repost the topic? On 6 May 2006, at 8:27AM, Andreas Wahlin wrote:
It works good with the mailinglist. However, I suspect you answered a mail on the intelligent jump topic, which means that for some of us, your mail got sorted in under that topic. And now I've gone and done mor or less the same thing :)
Andreas
On May 5, 2006, at 16:32 , Tom Hancocks wrote:
I hope this works. Its my first time on these lists, and I'm totally sure on how they work. Anyway, here goes.
Hello all,
I'm relatively new to TextMate, only been using it for a few weeks, and I have decided it quite possibly the best way for me to develop my games, programs and websites in. Unfortunately it when I downloaded it did not do any BlitzMax, which is one of the main IDE's I use. I began to look around and I couldn't find one anywhere.
Anyway I began to develop my own, and I have just today gotten it to a working stage. There are still limitations in it, which I'm looking in to on how to correct.
Anyway, here is a link to a post on my blog about it, and where you can download it. I hope people like it, as it has taken quite a bit doing and learning of TextMate's bundle system.
Tom
http://www.freepgs.com/bluelaser/projects.php
_ 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
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 3, 2006, at 3:27 AM, Andreas Wahlin wrote:
I think this is a great idea, but Duane's home/end looses some functionality compared to Thomas', I'm thinking about for example $$('#mainMenu')[0].onmouseout = function() { on which I could navigate quickly from section to section so to speak with Thomas' commands, but with Duane's I only jump a character a time. Could these be merged to get everything from both?
Andreas
Just to report that intelli-jump works great in LaTeX as is within curly brackets "{}". However it is greedy with "[]" and selects all instead within the brackets.
Robert
I took the liberty of adding Duane's bundle to my SVN repo. I changed some stuff to make everything play nicely together.
I changed his shortcuts to ⇧-home & ⇧-end That all works nicely with my PowerBook keyboard.
http://textmate.svn.subtlegradient.com/Bundles/Duane%20Johnson.tmbundle/ feed://trippledoubleyou.subtlegradient.com/textmate/taylott_svnlog.rss
I'm glad people like my stuff. Enjoy! thomas Aylott—subtleGradient—oblivious@subtleGradient.com
On May 2, 2006, at 9:45 AM, Steve Lianoglou wrote:
Not sure if this fits anywhere in the bundles, but I've added a BalanceJr-like command to my personal bundle that makes navigating Ruby, HTML and XML code a lot easier. Check it out if you're interested: http://blog.inquirylabs.com/2006/05/02/new-feature- intelligent-jump/
Hey Duane ... very slick.
I liked the part where you edited the head <wrapper> tag and it changed the matching close tag ... which made me wonder if a similar function I thought would be cool is hiding somewhere and I just haven't found it.
Has anybody whipped up a macro which would, say in your example, if I'm in the <wrapper> tag jump me down to the </wrapper> tag and vice versa? You know .. not highlight what's in between, but jump forward and back.
That'd be pretty handy w/ xml type files as well as say source files to jump from the opening {,[,( to the closing },],) and what not.
I'm thinking it must be there somewhere but I'm missing it.
The Intelligent Jump command will do that if you hit tab twice--is that what you're looking for?
Duane
Duane
A little bug: tab doesn't work with parameters default values.
Before: def foo(field_id, tag_options = {})
After 3 [Tab]: def foo(field_id, = {})
Problem: the 2nd parameter was deleted.
Alain
On May 3, 2006, at 10:46 AM, Alain Ravet wrote:
Duane
A little bug: tab doesn't work with parameters default values.
Before: def foo(field_id, tag_options = {})
After 3 [Tab]: def foo(field_id, = {})
Problem: the 2nd parameter was deleted.
Alain
Hmm, that *is* a problem :)
Thanks, Alain. I'll post when it's fixed.
Duane Johnson (canadaduane) http://blog.inquirylabs.com/