pdf/html/epub viewer: make text selection boundary configurable
Word/lines are selected using a double or triple click. I use word boundaries almost all the time, resulting in a lot of extra clicks. Ideally the single/double/triple click behaviour would be configurable, e.g. by offering a word-centric mode mapping single/double/triple clicks to word/character/line boundaries, and a character-centric mapping implementing the current behaviour. I implemented a similar mechanism in sioyek: https://github.com/ahrm/sioyek/commit/b761840a95a8bc2f2e8095c8e8af743d38eabb7e
If you're talking about using desktop Zotero on a device with a touchscreen, I think text selection in the EPUB and snapshot readers should already behave the way you expect there.
I've just tried the latest beta on a Surface Go (Arch Linux, KDE Wayland). With MOZ_ENABLE_WAYLAND=1 (or MOZ_USE_XINPUT2), highlights can be added using the touch screen after enabling the "highlight text" mode. Long touches do not work for this: they don't cause anything in the pdf viewer and open the menu that is usually activated on right clicks when interacting with the html viewer. The selection is character-based. The same applies to the HTML viewer. Without MOZ_ENABLE_WAYLAND or MOZ_USE_XINPUT2, selection works in a character-based fashion even without the "highlight text" mode, but scrolling breaks (as touch events are treated like mouse events).
Overall I'd say the best highlighting experience I'm aware of are all word-based, with character-based selection occasionally making sense when highlighting parts of words (e.g. typos) or with broken PDF files. I wouldn't want to force this experience on anybody though.