diff options
author | defanor <defanor@uberspace.net> | 2019-08-25 09:30:35 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2019-08-25 09:30:35 +0300 |
commit | 153125149d217d866d6347f76f65345db46257c2 (patch) | |
tree | 80e50043aa5a01093f5c8dab114a66b3afa6f825 /src/documentbox.h | |
parent | f308e319f3170a2949624e211adf75002ee5d3f1 (diff) |
Merge search and selection
This reduces code and state duplication, though it may be useful to
refactor them further, possibly using a model similar to Emacs marks.
Diffstat (limited to 'src/documentbox.h')
-rw-r--r-- | src/documentbox.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/documentbox.h b/src/documentbox.h index 64a2320..37b2909 100644 --- a/src/documentbox.h +++ b/src/documentbox.h @@ -36,11 +36,11 @@ typedef struct _DocumentBoxClass DocumentBoxClass; typedef struct _SelectionState SelectionState; struct _SelectionState { - IBText *selection_start; + InlineBox *selection_start; guint selection_start_index; - IBText *selection_end; + InlineBox *selection_end; guint selection_end_index; - IBText *selection_prev; + InlineBox *selection_prev; guint selection_prev_index; gboolean selection_active; gboolean selecting; |