Re: Selecting words

From: Jay <robert.jay.go....at.gmail.com>
Date: Tue, 4 May 2010 19:23:11 -0700 (PDT)

This works perfectly, thanks!

On May 4, 9:37 am, mitchell <mforal.n....at.gmail.com> wrote:
> Brian,
>
> On May 1, 7:50 pm, Brian Schott <briancsch....at.gmail.com> wrote:
>
>
>
>
>
> > Try this instead:
>
> > keys['cleft'] = { function() textadept.check_focused_buffer(buffer)
> > buffer:word_part_left() end }
> > keys['cright'] = { function() textadept.check_focused_buffer(buffer)
> > buffer:word_part_right() end }
> > keys['csleft'] = { function() textadept.check_focused_buffer(buffer)
> > buffer:word_part_left_extend() end }
> > keys['csright'] = { function() textadept.check_focused_buffer(buffer)
> > buffer:word_part_right_extend() end }
> > keys['csup'] = { function() textadept.check_focused_buffer(buffer)
> > buffer:line_up_extend() end }
> > keys['csdown'] = { function() textadept.check_focused_buffer(buffer)
> > buffer:line_down_extend() end }
>
> > For some reason, Textadept gets confused about where to send the key
> > presses when the view is split. For some other reason,
> > check_focused_buffer works around this problem.
>
> > Is this a bug?
>
> keys['cleft'] = { 'word_part_left', b }
>
> or
>
> keys['cleft'] = { 'word_part_left', 'buffer' }
>
> Mitchell
>
>
>
>
>
>
>
> > - Brian
>
> > On 04/30/10 22:36, Jay wrote:
>
> > > Cool thanks!
> > > Actually the second solution is actually even nicer (Caps and
> > > Underscores)
>
> > > -Jay
>
> > --
> > You received this message because you are subscribed to the Google Groups "textadept" group.
> > To post to this group, send email to textadept.at.googlegroups.com.
> > To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/textadept?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "textadept" group.
> To post to this group, send email to textadept.at.googlegroups.com.
> To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/textadept?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "textadept" group.
To post to this group, send email to textadept.at.googlegroups.com.
To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
For more options, visit this group at http://groups.google.com/group/textadept?hl=en.
Received on Tue 04 May 2010 - 22:23:11 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:44:33 EST