DISSINET / InkVisitor

An open-source, browser-based front-end application for the collection of complex structured data from textual resources in history and the social sciences into a RethinkDB database for further analysis.
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

Text selection in Annotator by cursor keys #2193

Open davidzbiral opened 3 months ago

davidzbiral commented 3 months ago

Allow moving through Annotator by cursor keys (PgDn, Ctrl+arrow down...). Also allow text selection by cursor as in all major text editors: e.g. Ctrl+Shift+rightkey, leftkey, upkey, downkey, PgDn, PgUp. Ctrl + rightkey and leftkey = for whole words. Simply as major text editors have it, if unsure, open a Google Doc and try it out there - this is the functionality we want.

Based on this selection, we want two alternative actions:

  1. Segmentation - i.e. triggering the same modal as with mouse selection in Annotator.
  2. Text copy-paste to system clipboard. (This will be treated separately in a next issue also for mouse option, so here I am listing it only as one of the two possible actions the user wants.)