Ctrl+t / up / Ctrl+t moves the line up, but you can't move it down.

Before moving to linux I used notepad++, which implements the moving
line feature. It uses scintilla and is GPL, so maybe the code can be
taken from there.

On Mon, Jan 26, 2009 at 8:16 PM, spir <[email protected]> wrote:
> Le Mon, 26 Jan 2009 16:13:04 +0100,
> Harold Aling <[email protected]> a écrit :
>
>> On Mon, 26 Jan 2009 15:43:35 +0100, Frank Lanitz <[email protected]>
>> wrote:
>> > On Mon, 26 Jan 2009 15:28:58 +0100
>> > Harold Aling <[email protected]> wrote:
>> >
>> >> * No selection: move current line [up|down]
>> >
>> > Maybe I just didn't understand the request correctly, but doesn't Ctrl+t
>> > the job?
>>
>> Nope...
>>
>> Ctrl-t switches the current line with the line above it. Using it twice
>> will not move the line 2 lines up, but restores the original position of
>> both lines.
>
> Just because the cursor does not follow the line up. This could be changed? 
> (I find more logical the cursor to stick to the pointed line.) Or else Ctrl+t 
> / up / Ctrl+t actually moves the line up twice.
>
> Denis
>
> ------
> la vida e estranya
> _______________________________________________
> Geany mailing list
> [email protected]
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>
_______________________________________________
Geany mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany

Reply via email to