medit/moo/plugins/usertools/lua-tool-setup.lua
2010-12-17 00:46:14 -08:00

4 lines
100 B
Lua

local _g = getfenv(0)
_g.doc = _g.editor.get_active_doc()
_g.window = _g.editor.get_active_window()