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PCBQWGGIUXGQDX77VTGPFIG6YT7G64ASOYHXQC
DGTRI544ISEG3C2EZIHOHMFV7RN7OPH7PPDES5YKYSPES7GJKTNAC
ZPIIIN2B4EENXZAANI23O2IBKAMFNPLGZYFFMJIZ6ENYVPH5ECDQC
DQDOVBYXIV26VD3RQYPZNVSIDUPWB56TR737AB3762OXCOXNTZDAC
CU5DXB4DDR7JVLNOSBQH3DRZKMXC5ZBRD4AYQO26FPHUUXMAOLZQC
2XGKAHLDJKCX7CI2A2UZCAOYAUREPH2TH4V5WK7MRWLHOFI3CPZQC
4P4AGIIG55VT6Y3JZVZPB756H4N2C6NTVMWCOOGCOSY63K4ILBFAC
CVK6T5OZZPWGWZ4E2QQZKCOWZPC25EDWXZWLLTPBDDRGEQGADKNAC
RARXCAVDKO44DCW6HMRIZIMMOKQWMA32GWTWS6VWFZQVEM7NEI2QC
IR7TBR2467FVR4UX64IYDA6C6SPWN7AZLOWLVNCYUDGCABOG2NWQC
2RUFBUA5UFKJFAYDDNBBWFO2LVF67W4W6IHHYUJFXNDATWAVKJMQC
D7D6T2F3FRMONF627F2NV227T5KTZ4FOHZKROEIIA236U7FVASTQC
KL4LEOXR4CDVBAO66M4HFHSRIT4ETY3CLSB55XUEBVIPQCD2D7YQC
if not Display_settings.show_palette and (Display_settings.mode == 'normal' or Display_settings.mode == 'search') and App.mouse_down(1) then
if not Display_settings.palette and (Display_settings.mode == 'normal' or Display_settings.mode == 'search') and App.mouse_down(1) then
if Display_settings.show_palette then
Display_settings.palette_command = Display_settings.palette_command..t
Display_settings.palette_alternative_index = 1
Display_settings.palette_candidates = candidates()
if Display_settings.palette then
Display_settings.palette.command = Display_settings.palette.command..t
Display_settings.palette.alternative_index = 1
Display_settings.palette.candidates = candidates()
Display_settings.palette_command = ''
Display_settings.show_palette = false
Display_settings.palette_alternative_index = 1
Display_settings.palette_candidates = nil
Display_settings.palette = nil
local len = utf8.len(Display_settings.palette_command)
local byte_offset = Text.offset(Display_settings.palette_command, len)
Display_settings.palette_command = string.sub(Display_settings.palette_command, 1, byte_offset-1)
Display_settings.palette_alternative_index = 1
Display_settings.palette_candidates = candidates()
local len = utf8.len(Display_settings.palette.command)
local byte_offset = Text.offset(Display_settings.palette.command, len)
Display_settings.palette.command = string.sub(Display_settings.palette.command, 1, byte_offset-1)
Display_settings.palette.alternative_index = 1
Display_settings.palette.candidates = candidates()
local candidates = Display_settings.palette_candidates
Display_settings.palette_command = command_string(candidates[Display_settings.palette_alternative_index])
local p = Display_settings.palette
p.command = command_string(p.candidates[p.alternative_index])
Display_settings.palette_command = Display_settings.palette_command..App.get_clipboard()
Display_settings.palette_candidates = candidates()
local p = Display_settings.palette
p.command = p.command..App.get_clipboard()
p.candidates = candidates()
local candidates = Display_settings.palette_candidates
if #candidates > 0 then
if file_exists(Directory..candidates[Display_settings.palette_alternative_index]) then
command.open_file_in_next_column(candidates[Display_settings.palette_alternative_index])
local p = Display_settings.palette
local candidates = Display_settings.palette.candidates
if #p.candidates > 0 then
if file_exists(Directory..p.candidates[p.alternative_index]) then
command.open_file_in_next_column(p.candidates[p.alternative_index])
Display_settings.palette_command = ''
Display_settings.show_palette = false
Display_settings.palette_alternative_index = 1
Display_settings.palette_candidates = nil
Display_settings.palette = nil
if Display_settings.palette_alternative_index > 1 then
Display_settings.palette_alternative_index = Display_settings.palette_alternative_index-1
if Display_settings.palette.alternative_index > 1 then
Display_settings.palette.alternative_index = Display_settings.palette.alternative_index-1
if Display_settings.palette_alternative_index < #Display_settings.palette_candidates then
Display_settings.palette_alternative_index = Display_settings.palette_alternative_index+1
if Display_settings.palette.alternative_index < #Display_settings.palette.candidates then
Display_settings.palette.alternative_index = Display_settings.palette.alternative_index+1
if Display_settings.palette_alternative_index > Palette_alternatives_height then
Display_settings.palette_alternative_index = Display_settings.palette_alternative_index-Palette_alternatives_height
if Display_settings.palette.alternative_index > Palette_alternatives_height then
Display_settings.palette.alternative_index = Display_settings.palette.alternative_index-Palette_alternatives_height
if Display_settings.palette_alternative_index <= #Display_settings.palette_candidates-Palette_alternatives_height then
Display_settings.palette_alternative_index = Display_settings.palette_alternative_index+Palette_alternatives_height
if Display_settings.palette.alternative_index <= #Display_settings.palette.candidates-Palette_alternatives_height then
Display_settings.palette.alternative_index = Display_settings.palette.alternative_index+Palette_alternatives_height
for i,cmd in ipairs(Display_settings.palette_candidates) do
add_command_to_palette(cmd, i == Display_settings.palette_alternative_index)
for i,cmd in ipairs(Display_settings.palette.candidates) do
add_command_to_palette(cmd, i == Display_settings.palette.alternative_index)
love.graphics.print(Display_settings.palette_command, x,y)
x = x+Display_settings.font:getWidth(Display_settings.palette_command)
love.graphics.print(Display_settings.palette.command, x,y)
x = x+Display_settings.font:getWidth(Display_settings.palette.command)