PCKU2L7JZ5YIWUKAQLFLWMI3WQOI63OHDG3AKXW2T6FLDSWUUC6AC
KXRF6Q5QSSC4JIUJSUTJ376PNKD42CLYICJNQCBUNIZVEUHX2HYAC
IENTL2ITG2CJE5TRUJGUE65CNC4COAQIQGDMGETZCP5R2VUMS7QQC
NVSC4N4KMUHGX5FEOM2DXYA4VHEEQTP3QNY3D7WY4UONVW5LCT2QC
2L5MEZV344TOZLVY3432RHJFIRVXFD6O3GWLL5O4CV66BGAFTURQC
endendfunction edit.final_cursor(State) for i=#State.lines,1,-1 do if State.lines[i].mode == 'text' then return {line=i, pos=utf8.len(State.lines[i].data)+1} end
end
function edit.final_cursor(State)
for i=#State.lines,1,-1 do
if State.lines[i].mode == 'text' then
return {line=i, pos=utf8.len(State.lines[i].data)+1}
if State.cursor1.line >= #State.lines then break end if State.lines[State.cursor1.line].mode == 'text' then break end State.cursor1.line = State.cursor1.line+1 State.cursor1.pos = 1
if State.cursor1.line >= #State.lines then
break
if State.lines[State.cursor1.line].mode == 'text' then
State.cursor1.line = State.cursor1.line+1
State.cursor1.pos = 1