Re: [Komodo-discuss] Selecting complete lines
by Christoph Haas other posts by this author
Apr 18 2008 3:33AM messages near this date
view in the new Beta List Site
Re: [Komodo-discuss] Selecting complete lines
|
[Komodo-discuss] Bug 75622 status?
Todd,
On Freitag, 18. April 2008, you wrote:
> Christoph Haas wrote:
> > However I'm missing one feature in the normal key bindings that are
> > available in vi bindings. It's 'V' (shift-V) to select a complete
> > line. I often want to copy a few lines into a new location or move a
> > few lines. So I'd like to select from the first line (on any column
> > there) to the last line (also on any column) and press some magic
> > button to select that part of my file from the first to the last
> > column. How would I do that in the normal key binding mode?
>
> This is where the power of Komodo's macro system comes into play, to be
> able to add functionality that is not already existing inside of Komodo.
I assumed that macros can just repeat actions I do in the GUI. But seeing
it's moderately programmable through Javascript and Python is pretty nice.
I still have to find my way through the API because I didn't use XPCOM
yet.
> I posted an example macro that performed this piece of functionality,
> you can find the details here:
> http://community.activestate.com/forum-topic/komodo-line-selection-macro
Awesome. Works exactly as expected. Thanks a lot. Perhaps one day it will
be a standard keybinding that I can use. But I've put the macro on a
hotkey and am happy now. :)
Cheers
Christoph (a happy "customer")
Thread:
Christoph Haas
Todd Whiteman
Christoph Haas
|