diff options
author | Thomas White <taw@bitwiz.org.uk> | 2016-03-28 17:03:01 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2016-03-28 17:03:01 +0200 |
commit | 3087709f11b05b943c20436c9c64a09e09223208 (patch) | |
tree | 7e0efd326aa4f06685724b04ab836ba606a9bbbd /src/sc_editor.h | |
parent | eb4c2a335c5b6c0b534330021effc7f3efbf1dc4 (diff) |
Basic renderer using PangoLayouts
Diffstat (limited to 'src/sc_editor.h')
-rw-r--r-- | src/sc_editor.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sc_editor.h b/src/sc_editor.h index 166e640..99afa50 100644 --- a/src/sc_editor.h +++ b/src/sc_editor.h @@ -117,9 +117,8 @@ struct _sceditor /* Location of the cursor */ struct frame *cursor_frame; - int cursor_line; - int cursor_box; - int cursor_pos; /* characters into box */ + int cursor_para; /* paragraph index */ + int cursor_pos; /* character offset into paragraph */ /* Border surrounding actual slide within drawingarea */ double border_offs_x; |