Lately I have been having fun creating a lot of lua scripts and macros. This is cool.
I see that lua scripts can be set up to respond to events. I'm using OnChar() to listen to characters that are pressed. My goal is to create an interactve console in the output panel. Is there a good way to find out whether the characters were typed in the editor or the output? After looking around, the extman.lua script has a way to do this, but it is kind of ugly. (It evidently keeps track of the current position whenever a key is pressed, and then checks Onenter if the line editor position has moved, or at least that's what it looks like it is doing). It'd be cool to know whether the editor or the output panel has focus. -Ben _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
