diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-09-16 22:41:55 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-09-16 22:41:55 -0700 |
commit | c43d884b6ffb94803bee9f9e788e4b3a2f74f23b (patch) | |
tree | 03cc213c5110d001a9ab67817009fa13d737d02a | |
parent | 9241fedf3a098ceea1b4d5e408c59ae31d75be3f (diff) | |
download | view.love-c43d884b6ffb94803bee9f9e788e4b3a2f74f23b.tar.gz |
indent
-rw-r--r-- | edit.lua | 16 | ||||
-rw-r--r-- | source_edit.lua | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/edit.lua b/edit.lua index b9bd9c4..45588df 100644 --- a/edit.lua +++ b/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 diff --git a/source_edit.lua b/source_edit.lua index d2cd7d9..310853a 100644 --- a/source_edit.lua +++ b/source_edit.lua @@ -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 |