mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-10 01:50:22 -06:00
Variables: Lock Variables' description names the refused import
variable.lock's params text and the doc comment on Variables::locked said every dataset command still runs while the variables are locked. dataset.import is refused when its header would define a variable; both texts now say so, as docs/mcp.md and dataset.import's params already do.
This commit is contained in:
@@ -641,7 +641,7 @@ pub fn specs() -> Vec<CommandSpec> {
|
||||
"Lock Variables",
|
||||
["Window", "Variables"],
|
||||
None,
|
||||
"{locked?: bool} lock or unlock the variables (default: toggle); saved with the document; a change is one undo step. While locked, variable.define, variable.delete, variable.rename, variable.make…Dynamic and a variable.loadLibrary that would delete or define a variable are refused; binding, unbinding and the dataset commands still run → {locked}",
|
||||
"{locked?: bool} lock or unlock the variables (default: toggle); saved with the document; a change is one undo step. While locked, variable.define, variable.delete, variable.rename, variable.make…Dynamic and a variable.loadLibrary that would delete or define a variable are refused; binding, unbinding and the dataset commands still run, except a dataset.import whose header would define a variable → {locked}",
|
||||
has_doc,
|
||||
lock
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user