aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sc_editor.c3
1 files changed, 3 insertions, 0 deletions
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: