Merge text.love

[?]
Oct 17, 2023, 6:31 AM
NUJMQXN64UTFVNRFCJFNVJ7J4G5NVCQA4MFIFNBS626TRHCTESMQC

Dependencies

Change contents

  • file deletion: source_text.lua (----------)source_text.lua (----------)
    [4.2][4.147125:147164](),[4.2][4.147125:147164](),[4.147164][4.83786:83786]()
    button(State, 'link', {x=State.left+lo, y=y, w=hi-lo, h=State.line_height, bg={r=1,g=1,b=1},
    icon = icon.hyperlink_decoration,
    onpress1 = function()
    if file_exists(filename) then
    source.switch_to_file(filename)
    end
    end,
    })
  • file deletion: source_edit.lua (----------)source_edit.lua (----------)
    [4.2][4.165788:165827](),[4.2][4.165788:165827](),[4.165827][4.152503:152503]()
    button(State, 'draw', {x=buttonx, y=y+4, w=12,h=12, bg={r=1,g=1,b=0},
    icon = icon.insert_drawing,
    onpress1 = function()
    Drawing.before = snapshot(State, line_index-1, line_index)
    table.insert(State.lines, line_index, {mode='drawing', y=y, h=256/2, points={}, shapes={}, pending={}})
    table.insert(State.line_cache, line_index, {})
    if State.cursor1.line >= line_index then
    State.cursor1.line = State.cursor1.line+1
    end
    schedule_save(State)
    record_undo_event(State, {before=Drawing.before, after=snapshot(State, line_index-1, line_index+1)})
    end,
    })
  • file deletion: commands.lua (----------)commands.lua (----------)
    [4.2][4.207182:207218](),[4.2][4.207182:207218](),[4.207218][4.203826:203826]()
    button(Editor_state, 'menu', {x=x-5, y=y-2, w=width+5*2, h=Editor_state.line_height+2*2, bg=color,
    onpress1 = function()