medit/moo/plugins/usertools/lua-tool-setup.lua

4 lines
100 B
Lua
Raw Normal View History

2010-08-30 22:19:58 -07:00
local _g = getfenv(0)
2010-12-12 02:29:20 -08:00
_g.doc = _g.editor.get_active_doc()
_g.window = _g.editor.get_active_window()