aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2015-08-18 23:12:10 +0200
committerThomas White <taw@bitwiz.org.uk>2015-08-18 23:12:51 +0200
commit2a7a259de1514997c6a973d372d332fbdddf7f8e (patch)
treea946ad0db629f57451069704a664222a44bdb9b2 /src
parentc84b0e8f3aaceb57182f40e0979e12b38c8fc046 (diff)
Add a comment
Diffstat (limited to 'src')
-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: