forked from 1b-agent/opencadstudio-upstream
Selection: report what each pick found while a command gathers objects
Every pick during object selection prints the reference's count line: "N found" for the first pick or a pick that adds nothing, "N found, M total" after it, "N found, N removed, M total" when objects leave the set. It is printed before a command's own filtering, so "N were filtered out" follows it. COUNT reports through it and the ad hoc "object(s) found." / "object(s) added to selection." lines are gone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
2c062daa03
commit
1e93b16911
27 files changed
+112
-16
No files matched your search
@@ -796,6 +796,9 @@ pub(super) struct OpenCADStudio {
|
||||
block_freq: std::collections::HashMap<String, u32>,
|
||||
/// BLOCKMRULIST: how many recent blocks the palette keeps (0–100).
|
||||
pub(crate) block_mru_list: u8,
|
||||
/// The selection the gathering command had after the last pick (keyed by
|
||||
/// the command), for the `N found, M total` line.
|
||||
pub(crate) selection_report: Option<(usize, Vec<codec::Handle>)>,
|
||||
/// The Edit Reference dialog's remembered settings.
|
||||
pub(crate) refedit_options: crate::app::settings::RefEditOptions,
|
||||
/// BLOCKREDEFINEMODE (0–2).
|
||||
@@ -4682,6 +4685,7 @@ impl OpenCADStudio {
|
||||
block_mru: Vec::new(),
|
||||
block_freq: std::collections::HashMap::new(),
|
||||
block_mru_list: 50,
|
||||
selection_report: None,
|
||||
refedit_options: Default::default(),
|
||||
block_redefine_mode: 1,
|
||||
block_navigate: ".".to_string(),
|
||||
|
||||
Reference in new issue
Block a user