Comment 11 for bug 674958

Revision history for this message
Cody Russell (bratsche) wrote :

This branch should basically allow you to select text, although the begin/end positions of the selection may not be perfectly accurate so that might require a little tweaking. There is no current way to implement the requirement that an entire paragraph should be selected by doing a 3-finger tap, so that will not work.

Once the text is selected it needs to be copied to the clipboard, which means right now the user needs to either hit Ctrl-C or go to the menu and select Edit->Copy. I think we're missing some design elements to complete this part of the feature. But basically the code just needs to make a call to ev_view_copy(EvView*) to copy the text that was selected by the gesture. Or ev_view_copy() could be called at the end of ev_view_end_select() to automatically copy the text that was selected into the clipboard, but then this would deviate from the behavior that happens using a mouse.