apply_action: Apply or reverse an action

View source: R/utils.R View source: R/annotate_gui.R

apply_actionR 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)


textAnnotatoR documentation built on April 3, 2025, 7:35 p.m.