forked from 1b-agent/opencadstudio-upstream
chore(mtext): drop unused preview-edit message variants
MTextType/MTextBackspace/MTextDelete were never emitted — preview typing, backspace and delete route through the existing CommandAppendChar / CommandBackspace / DeleteSelected handlers, which call the methods directly. Removes the dead variants and their arms (fixes a never-constructed warning). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
7190df8274
commit
3cf21c1cc2
2 files changed
-18
No files matched your search
@@ -3591,18 +3591,6 @@ impl OpenCADStudio {
|
||||
}
|
||||
Task::none()
|
||||
}
|
||||
Message::MTextType(s) => {
|
||||
self.mtext_type(&s);
|
||||
Task::none()
|
||||
}
|
||||
Message::MTextBackspace => {
|
||||
self.mtext_backspace();
|
||||
Task::none()
|
||||
}
|
||||
Message::MTextDelete => {
|
||||
self.mtext_delete();
|
||||
Task::none()
|
||||
}
|
||||
Message::MTextCaretMove(d) => {
|
||||
self.mtext_caret_move(d);
|
||||
Task::none()
|
||||
|
||||
Reference in new issue
Block a user