From c02bd85c672ee225edff7fcc1019c279202371bf Mon Sep 17 00:00:00 2001 From: Ronald Date: Fri, 13 Jun 2025 21:25:57 +0100 Subject: [PATCH] Update comments --- main.odin | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.odin b/main.odin index 0893b6b..2a4cadd 100644 --- a/main.odin +++ b/main.odin @@ -716,7 +716,6 @@ paste_text :: proc(file: ^FileBuffer, text: string) { move_cursor_up :: proc(file: ^FileBuffer) { // For wrapped text, we need to handle cursor movement differently - // This is a simplified version - you may want to enhance it further if file.cursor_pos > 0 { // Find the previous newline for i := file.cursor_pos - 1; i >= 0; i -= 1 { @@ -744,7 +743,6 @@ move_cursor_up :: proc(file: ^FileBuffer) { move_cursor_down :: proc(file: ^FileBuffer) { // For wrapped text, we need to handle cursor movement differently - // This is a simplified version - you may want to enhance it further if file.cursor_pos < len(file.content) { // Find the current line start current_line_start := 0