diff options
author | Thomas White <taw@bitwiz.org.uk> | 2015-08-18 23:12:10 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2015-08-18 23:12:51 +0200 |
commit | 2a7a259de1514997c6a973d372d332fbdddf7f8e (patch) | |
tree | a946ad0db629f57451069704a664222a44bdb9b2 | |
parent | c84b0e8f3aaceb57182f40e0979e12b38c8fc046 (diff) |
Add a comment
-rw-r--r-- | src/sc_editor.c | 3 |
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: |