indent
This commit is contained in:
parent
9241fedf3a
commit
c43d884b6f
16
edit.lua
16
edit.lua
|
@ -142,14 +142,14 @@ end
|
|||
|
||||
function edit.put_cursor_on_next_text_line(State)
|
||||
while true do
|
||||
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
|
||||
end
|
||||
if State.lines[State.cursor1.line].mode == 'text' then
|
||||
break
|
||||
end
|
||||
State.cursor1.line = State.cursor1.line+1
|
||||
State.cursor1.pos = 1
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -144,14 +144,14 @@ end
|
|||
|
||||
function edit.put_cursor_on_next_text_line(State)
|
||||
while true do
|
||||
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
|
||||
end
|
||||
if State.lines[State.cursor1.line].mode == 'text' then
|
||||
break
|
||||
end
|
||||
State.cursor1.line = State.cursor1.line+1
|
||||
State.cursor1.pos = 1
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue