diff options
author | Jonathan Blandford <jrb@redhat.com> | 2005-06-30 05:44:28 (GMT) |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2005-06-30 05:44:28 (GMT) |
commit | e93b3a265bbc02546d230204402e3f41e83d6ab5 (patch) | |
tree | 9a56861f73e0b9a523a2d8cba2d817318a639605 /NOTES | |
parent | a50ca0528a09e8e001c4600371048774e4029057 (diff) |
Massive changes. We now support text selection of pdfs, and not just
Thu Jun 30 01:43:00 2005 Jonathan Blandford <jrb@redhat.com>
* shell/*:
* backend/ev-render-context.[ch]:
* backend/ev-selection.[ch]:
Massive changes. We now support text selection of pdfs, and not
just rectangular selection. This is pretty broken still, but I
want to get something into CVS.
Diffstat (limited to 'NOTES')
-rw-r--r-- | NOTES | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -25,6 +25,29 @@ Thoughts on threading: * The primary thing we are trying to do is minimize switching pages, as doing so is slow for backends. Additionally, some operations on the - backend are slow, leaving poor interactivity. This + backend are slow, leaving poor interactivity. -- + +Thoughts on selection: + + * On button_press, we record selection_start, and set in_selection. + + * selection_list must be ordered!!! + + * On motion_notify, we update selection_end and call compute_selection, + that keeps an ordered list of the selections. + + * If any of the selection changes, we notify the pixbuf_cache right + away. + + * On button_release, we unset in_selection, and trim all the current + pixbufs. + + * If a resize (somehow) occurs, during a selection, we clear + in_selection and abort. + + * I'd like to support shift-click to handle extending the selection, + but for that to survive resizing, I might need to store the points as + doubles, etc. It should be possible to reconstruct it from the + existing EvViewSelection structs, so maybe I don't need it. |