GetCurrentEditor
Definition
-- @/=[C]:-1
function GetCurrentEditor(...)
Callers
@/lua/ge/extensions/flowgraph/nodes/debug/comment.lua
function C:updateEditorPosition()
if self.nodePosition and (ui_flowgraph_editor.GetCurrentEditor() ~= nil) then
if self.nodePosition[1] > -2e8 and self.nodePosition[2] > -2e8
@/lua/ge/extensions/editor/missionPlaybook/missionTreeViewer.lua
if book and book.results and book.results[book.page] then
local savedEctx = ui_flowgraph_editor.GetCurrentEditor()
@/lua/ge/extensions/editor/flowgraph/nodePreview.lua
function C:draw()
local savedEctx = ui_flowgraph_editor.GetCurrentEditor()
if self.hover and ((self.mode == "node" and self.hover.node) or (self.mode == "graph")) then
@/lua/common/extensions/ui/flowgraph/editor_api_luaintf.lua
M.ctx = nil
if fge.GetCurrentEditor() ~= nil then
M.ctx = fge.GetCurrentEditor()
if fge.GetCurrentEditor() ~= nil then
M.ctx = fge.GetCurrentEditor()
end
@/lua/ge/extensions/flowgraph/basenode.lua
function C:updateNodePosition()
if ui_flowgraph_editor.GetCurrentEditor() ~= nil then
local pos = ui_flowgraph_editor.GetNodePosition(self.id)
function C:updateEditorPosition()
if self.nodePosition and (ui_flowgraph_editor.GetCurrentEditor() ~= nil) then
if self.nodePosition[1] > -2e8 and self.nodePosition[2] > -2e8