resolve conflicts

akkartik
Oct 14, 2024, 11:02 PM
SLMSBVJWPDXVUGRHC4INGEZVAU3ILXPEMCNZIXHSL5GSMT7PAKRAC

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]()
    local endpos = line_cache.screen_line_starting_pos[i+1]
    return line.data:sub(offset, end_offset-1)
    end
    function Text.draw_cursor(State, x, y)
    -- blink every 0.5s
    if math.floor(Cursor_time*2)%2 == 0 then
    App.color(Cursor_color)
    love.graphics.rectangle('fill', x,y, 3,State.line_height)
    end
    State.cursor_x = x
    State.cursor_y = y+State.line_height
    end
    function Text.populate_screen_line_starting_pos(State, line_index)
    local line = State.lines[line_index]
    local end_offset = Text.offset(line.data, endpos)