Re: Duplicate line

From: morchel <>
Date: Sat, 1 May 2010 02:43:29 -0700 (PDT)

I prefer to have the caret in the copied line so
I use the following function to duplicate it:

-- Duplicates the current line and moves the caret to the new line
function duplicate_line()
  local buffer = buffer
  buffer:line_duplicate() -- Duplicate the current line
end = { duplicate_line }
Regards, Martin
You received this message because you are subscribed to the Google Groups "textadept" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at
Received on Sat 01 May 2010 - 05:43:29 EDT

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