export context menu

This commit is contained in:
takase1121 2021-06-05 08:47:32 +08:00
parent c5acd030a1
commit 794cf3813a
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,8 @@ local DIVIDER = {}
local ContextMenu = Object:extend() local ContextMenu = Object:extend()
ContextMenu.DIVIDER = DIVIDER
function ContextMenu:new() function ContextMenu:new()
self.itemset = {} self.itemset = {}
self.show_context_menu = false self.show_context_menu = false
@ -283,3 +285,5 @@ if require("plugins.scale") then
{ text = "Replace Pattern", command = "find-replace:replace-pattern" }, { text = "Replace Pattern", command = "find-replace:replace-pattern" },
}) })
end end
return menu