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