subscribe / notify edition events

2 views
Skip to first unread message

jrobinss

unread,
Nov 24, 2009, 3:24:28 AM11/24/09
to scite-interest

Hi all,

I'm new to scite. I've looked through the discussion and not found
what I'm looking for, so here's my question.

I need to be notified of edition events such as opening or closing a
file. It would also be nice if I could be notified of other events,
editing, saving, or even scrolling. I want to push these events to a
different module.

What would be the best way of doing this?

If I don't find any other way, I'll get the source code and add in
some hooks in the proper places, which will call my own code. I was
hoping there might already be a mechanism for this somewhere.

Thanks for any leads!
JR

Leledumbo

unread,
Nov 24, 2009, 9:55:20 PM11/24/09
to scite-interest
There are OnChar, OnKey, OnOpen, OnSave and many other events. All are
available from Lua. Please read the documentation about Lua scripting
extension.

jrobinss

unread,
Nov 25, 2009, 10:25:46 AM11/25/09
to scite-interest

Thanks. I'll look into Lua.
Reply all
Reply to author
Forward
0 new messages