Did you know ... Search Documentation:
Pack refactor -- prolog/ref_replay.pl
PublicShow source

This library provides tools to manage individual elements of the stack of pending changes of the refactoring tool. The pending changes are indexed by a sequential number, so that you can use such index in such predicates.

 apply_command_q(:Call)
 rstats is det
Stablish that it must be printed an information message at at the end of a command.
 rnostats is det
Stablish that it must be printed an informational message at at the end of a command, this means that only when the verbosity is the highest you will see that message.
 rlist is det
Display all commands that are waiting to be applied.
 rlist(Index) is det
Display on backtracking the commands that are waiting to be applied, and unifies Index with such command's index.
 rrewind is det
Reaply all the pending commands. This is useful if you change a file before to commit the changes, making the refactoring outdated with respect to the current files.
 rrewind(Index) is det
Reaply all the commands whose index is greater than Index.
 rundo is multi
Undo refactoring commands on backtracking.
 rdelete(Index)
Undo and rewind refactoring commands on backtracking.