Re: [code] [textadept] unexpected behavior when writing buffer.selection_mode

From: Benjamin Kober <k.o.b.e.r.att.web.de>
Date: Mon, 10 Jun 2013 14:04:49 +0200

Am 10.06.2013 13:44, schrieb Benjamin Kober:
> Hi,
>
> I'm working on a vim module for textadept
> (https://github.com/lammermann/ta-vim).
>
> For movements I would like to use buffer.selection_mode so that I don't
> need to use <function>, <function>_extend, <function>_rect_extend for
> every mode while the movement is still the same.
>
> When I tried it I stuck on several issues:
>
> * |_SCINTILLA.constants.SC_SEL_LINES seems to be the same as character
> selection
> * ||_SCINTILLA.constants.SC_SEL_RECTANGLE moves the caret always to the
> first line
>
> Is this the right behavior? Is this variable meant as read-only?
> Any ideas how I can change the selection_mode without defining it again
> with every caret move?
>
> Cheers, Benjamin
> |
Sorry, forgot to indicate the project.

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 10 Jun 2013 - 08:04:49 EDT

This archive was generated by hypermail 2.2.0 : Tue 11 Jun 2013 - 06:26:08 EDT