aboutsummaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index c778793..b41e596 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -630,6 +630,11 @@ static size_t text_para_pos(Paragraph *para, double x, double y, int *ptrail)
}
+void show_edit_pos(struct edit_pos a)
+{
+ printf("para %i, pos %li, trail %i\n", a.para, (long int)a.pos, a.trail);
+}
+
int positions_equal(struct edit_pos a, struct edit_pos b)
{