remove_annotation: Remove annotation without deleting code
Description
Removes a specific annotation instance while preserving the code
for use with other annotations.
Usage
remove_annotation(rv, start, end, code)
Value
Updated rv object with annotation removed
Arguments
- rv
ReactiveValues object containing annotations
- start
Starting position of annotation to remove
- end
Ending position of annotation to remove
- code
Code of annotation to remove