Multi Edit


This modules aims to provide access to some of Scintilla's multi-cursor features.



Both of these files are required. Be sure to

require 'common.multiedit'

Enabling multiple carets / multiple selection

Place the following in your theme's buffer.lua:

buffer.multiple_selection = true
buffer.additional_selection_typing = true
buffer.additional_carets_visible = true

Example Keybindings

Place the following in ~/.textadept/init.lua:

local m_multiedit = _m.common.multiedit
keys.cj = { m_multiedit.add_position }
keys.cJ = { m_multiedit.add_multiple } = { m_multiedit.selectAll }    

Added the file “multiedit.lua”.
Added the file “findall.lua”.

Edited on Monday, March 12th 2012 at 6:44 PM.