apply_action {textAnnotatoR}R Documentation

Apply or reverse an action

Description

Applies or reverses an action in the undo/redo system. Handles different types of actions including adding/removing annotations and merging/unmerging codes.

Applies or reverses an action in the undo/redo system. Handles different types of actions including adding/removing annotations and merging/unmerging codes.

Usage

apply_action(rv, action, reverse = FALSE)

apply_action(rv, action, reverse = FALSE)

Arguments

rv

ReactiveValues object containing application state

action

List containing action information

reverse

Logical indicating whether to reverse the action

Value

Invisible rv (ReactiveValues object)

Invisible rv (ReactiveValues object)


[Package textAnnotatoR version 0.1.4 Index]