summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWormHeamer2025-12-31 04:14:12 -0500
committerWormHeamer2025-12-31 04:14:12 -0500
commit9a1a70cbfe72be65ab45b20b8f6b4d9a9d523ca9 (patch)
tree6cd38986e3e486a0981cf84a78e0f2a897eb3895
parent46519df810cc4e7515faed081c4dbd078e4597e6 (diff)
make prev_line_start(), next_line_start() public
-rw-r--r--txt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/txt.h b/txt.h
index e61c881..5df33a7 100644
--- a/txt.h
+++ b/txt.h
@@ -80,6 +80,8 @@ TxtLoc start_of_line(TxtLoc l);
TxtLoc end_of_line(TxtLoc l);
TxtLoc prev_line(TxtLoc l);
TxtLoc next_line(TxtLoc l);
+TxtLoc prev_line_start(TxtLoc l);
+TxtLoc next_line_start(TxtLoc l);
TxtLoc at_col(TxtLoc l, u32 col);
u32 get_col(TxtLoc l);