forked from 1b-agent/opencadstudio-upstream
Contextual External Reference ribbon tab
Shown and brought forward while only xrefs are selected: Edit Reference In-Place, Open Reference, Create Clipping Boundary, Remove Clipping and External References. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
857f2f2e58
commit
68721813f4
26 files changed
+278
-22
No files matched your search
@@ -103,6 +103,15 @@ impl XclipCommand {
|
||||
}
|
||||
}
|
||||
|
||||
/// A new boundary for block references already chosen (the External
|
||||
/// Reference tab's Create Clipping Boundary): the New boundary branch at
|
||||
/// once. Returns the command and the result of its first step.
|
||||
pub fn start_new_boundary(inserts: Vec<Handle>, clipped: bool) -> (Self, CmdResult) {
|
||||
let mut command = Self::for_inserts(inserts, clipped);
|
||||
let first = command.option("N");
|
||||
(command, first)
|
||||
}
|
||||
|
||||
fn act(&self, action: XclipAction) -> CmdResult {
|
||||
CmdResult::XClip {
|
||||
inserts: self.inserts.clone(),
|
||||
|
||||
Reference in new issue
Block a user