aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/events.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2009-04-02 17:47:53 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2009-04-02 17:47:53 -0400
commite6cac1c716ce3cadab1a7ed45ec2dbb963270acb (patch)
tree8f44171dc33f0a7936c4eec98b7585ef5270f2a7 /core/events.lua
parent480acebc578b95d553ffb5061f773a03a3a1a731 (diff)
Removed macro support; just use Lua for scripting.
Diffstat (limited to 'core/events.lua')
-rw-r--r--core/events.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/events.lua b/core/events.lua
index 9deb4b86..ab664f87 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -32,10 +32,6 @@ module('textadept.events', package.seeall)
-- position: the position of the beginning of the line clicked.
-- line: the line clicked.
-- update_ui()
--- macro_record(message, wParam, lParam)
--- message: the SCI_* message.
--- wParam: wParam in SCI_*.
--- lParam: lParam in SCI_*.
-- margin_click(margin, modifiers, position)
-- margin: the margin number.
-- modifiers: mouse modifiers.
@@ -121,9 +117,6 @@ end
function update_ui()
return handle('update_ui')
end
-function macro_record(n)
- return handle('macro_record', n.message, n.wParam, n.lParam)
-end
function margin_click(n)
return handle('margin_click', n.margin, n.modifiers, n.position)
end
@@ -148,7 +141,6 @@ local scnnotifications = {
[c.SCN_SAVEPOINTLEFT] = save_point_left,
[c.SCN_DOUBLECLICK] = double_click,
[c.SCN_UPDATEUI] = update_ui,
- [c.SCN_MACRORECORD] = macro_record,
[c.SCN_MARGINCLICK] = margin_click,
[c.SCN_USERLISTSELECTION] = user_list_selection,
[c.SCN_URIDROPPED] = uri_dropped,