From 2a7a259de1514997c6a973d372d332fbdddf7f8e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 18 Aug 2015 23:12:10 +0200 Subject: Add a comment --- src/sc_editor.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/sc_editor.c b/src/sc_editor.c index ed0b224..2936cf3 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -199,6 +199,9 @@ void advance_cursor(SCEditor *e) cb = e->cursor_box; cl = e->cursor_line; + /* FIXME: For Pango boxes, we should be counting cursor positions, not + * characters */ + switch ( box->type ) { case WRAP_BOX_PANGO: -- cgit v1.2.3