review(#1624, #1637): repeat through dispatch_command; ZOOMFACTOR docs and Options test

- A blank script line outside a command repeats the last command through
  dispatch_command, as the command line's empty Enter does.
- ZOOMFACTOR bound docs describe the SETVAR range the PR widened, and the
  test keeps checking the value the Options field reaches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-06 20:22:54 +03:00
1 parent 59b76ada5c
commit fd12ef7768
3 files changed
+10 -8

No files matched your search

+2 -1
View File
@@ -1180,8 +1180,9 @@ impl OpenCADStudio {
if self.tabs[i].active_cmd.is_some() {
return self.feed_command(StepInput::Enter);
}
// Same repeat the command line's empty Enter gives.
if let Some(cmd) = self.tabs[i].last_cmd.clone() {
return self.run_command_line(&cmd);
return self.dispatch_command(&cmd);
}
return Task::none();
}