forked from 1b-agent/opencadstudio-upstream
fix(tolerance): complete workflow integration
Sync current main and companion codec changes before preserving unsupported frame rows, rendering in the entity plane, and sharing final layout metrics with placement preview.
This commit is contained in:
1 parent
66bf4b1d5f
commit
81e7add1dd
65 files changed
+3708
-934
No files matched your search
@@ -694,6 +694,10 @@ pub(super) struct OpenCADStudio {
|
||||
/// keep their manifest listed but drop their ribbon tab and command
|
||||
/// dispatch. Persisted via [`settings::UserSettings::disabled_plugins`].
|
||||
disabled_plugins: rustc_hash::FxHashSet<String>,
|
||||
/// `(tab id, selection fingerprint)` last broadcast to V4 plugins, so
|
||||
/// `SelectionChangedV4` fires once per real change rather than per message.
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
last_plugin_selection: Option<(u64, u64)>,
|
||||
/// External add-on packages found in the plugins folder, refreshed when the
|
||||
/// Plugin Manager opens.
|
||||
external_plugins: Vec<crate::plugin::external::ExternalPlugin>,
|
||||
@@ -2667,6 +2671,31 @@ pub enum Message {
|
||||
MTextWidth(String),
|
||||
/// Toolbar character-spacing field changed.
|
||||
MTextCharSpace(String),
|
||||
/// Undo / redo editor text and inline-format operations.
|
||||
MTextUndo,
|
||||
MTextRedo,
|
||||
/// Convert the selected numerator/separator/denominator to a stacked run.
|
||||
MTextStack,
|
||||
/// Remove inline character formatting from the selection (or all text).
|
||||
MTextClearFormatting,
|
||||
/// Insert a predefined symbol or field token at the caret.
|
||||
MTextInsert(String),
|
||||
/// Per-object annotation flag edited from the text toolbar.
|
||||
MTextAnnotative(bool),
|
||||
/// Column layout controls.
|
||||
MTextColumnMode(String),
|
||||
MTextColumnCount(String),
|
||||
MTextColumnWidth(String),
|
||||
MTextColumnGutter(String),
|
||||
MTextColumnHeight(String),
|
||||
MTextColumnFlowReversed(bool),
|
||||
/// Paragraph indent/spacing controls.
|
||||
MTextParagraphNumber(mtext_editor::ParaNumber, String),
|
||||
MTextFindText(String),
|
||||
MTextReplaceText(String),
|
||||
MTextFindNext,
|
||||
MTextReplaceNext,
|
||||
MTextReplaceAll,
|
||||
/// Toolbar colour picker (same widget as Properties) — applies to the
|
||||
/// selection, or the whole text when nothing is selected.
|
||||
MTextColorChanged(AcadColor),
|
||||
@@ -3259,6 +3288,8 @@ impl OpenCADStudio {
|
||||
attr_editor_tab: crate::ui::window::attribute_editor::AttrTab::Attribute,
|
||||
attr_editor_selected: 0,
|
||||
disabled_plugins: rustc_hash::FxHashSet::default(),
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
last_plugin_selection: None,
|
||||
external_plugins: Vec::new(),
|
||||
loaded_plugin_ids: rustc_hash::FxHashSet::default(),
|
||||
plugin_load_errors: rustc_hash::FxHashMap::default(),
|
||||
|
||||
Reference in new issue
Block a user