But this doesn't work because pdf-view-active-region stores the area physically traced by the mouse, and the conversion so characters/words/lines is done only when using the region (e.g. to add an annotation).
I think it would make sense to store the selection style used for each selection, in the same vein of pdf-view--have-rectangle-region.
It might also make sense to find a keybinding to this new command, but I would leave that up to you to choose.
Incidentally, I wish it was possible to momentarily switch to a different selection style, say while holding shift, say with this command:
But this doesn't work because
pdf-view-active-region
stores the area physically traced by the mouse, and the conversion so characters/words/lines is done only when using the region (e.g. to add an annotation).I think it would make sense to store the selection style used for each selection, in the same vein of
pdf-view--have-rectangle-region
.