mirror of
https://github.com/priyanshujain/margin.git
synced 2026-10-02 19:17:03 +00:00
feat(macos): trigger Apple Intelligence writing tools from the editor
This commit is contained in:
1 parent
fe39274ed7
commit
9e310a34bb
5 files changed
+108
-2
No files matched your search
@@ -45,7 +45,15 @@ url = "2"
|
||||
# in the graph via Tauri, so this adds nothing new to the build.
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
objc2 = "0.6"
|
||||
objc2-app-kit = { version = "0.3", features = ["NSSpellChecker"] }
|
||||
objc2-app-kit = { version = "0.3", features = [
|
||||
"NSSpellChecker",
|
||||
"NSApplication",
|
||||
"NSEvent",
|
||||
"NSMenu",
|
||||
"NSMenuItem",
|
||||
"NSResponder",
|
||||
"NSWritingToolsCoordinator",
|
||||
] }
|
||||
objc2-foundation = { version = "0.3", features = ["NSString", "NSArray", "NSRange", "NSTextCheckingResult"] }
|
||||
|
||||
# Other platforms fall back to the bundled Hunspell dictionary via spellbook.
|
||||
|
||||
Reference in new issue
Block a user