> For the complete documentation index, see [llms.txt](https://autoedit.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://autoedit.gitbook.io/documentation/master-1.0.13-1/transcriptions/papercuts/selections.md).

# Selections

## Component/part description

Make text selection of transcription

To look into <https://github.com/timdown/rangy>\
<https://developer.mozilla.org/en-US/docs/Web/API/Selection>

## Related projects

Hyperaudio, palestinian remix

## Implementations Options considered

### Palestinaian remix drag and drop

Palestinaian remix drag and drop

### Other

How to do text selection for highlight paper cuts. Currently in transcription show it traverse the DOM to update those.

Eg see selecting words function. That recognises uses selection.

<https://github.com/OpenNewsLabs/autoEdit_2/blob/paperedit/lib/app/views/transcription_view.js#L488>

And this function to update the dom with selections.

<https://github.com/OpenNewsLabs/autoEdit_2/blob/paperedit/lib/app/views/transcription_view.js#L91>\
There might be a better way to do this? Using rangy ?<br>

## Current implementation

## What needs refactoring
