Skip to content

Commit 9276de0

Browse files
authored
Fix typo in documentation (CodeEditApp#1090)
* Fix spelling mistake in documentation * Fix missing link * Update SegmentedControl.md * Update FontPicker.md
1 parent a4a99a8 commit 9276de0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation.docc/CodeEditUI/SegmentedControl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@State var selected: Int = 0
77
var items: [String] = ["Tab 1", "Tab 2"]
88

9-
SegementedControl($selected, options: items)
9+
SegmentedControl($selected, options: items)
1010
```
1111

1212
## Preview

Documentation.docc/Keybindings/KeybindingManager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Keybinding module exists as singleton, so you always can reference Keybindings u
2323

2424
In order to fetch keybinding you need to call following function with string name ``KeybindingManager/named(with:)`` returning you ``KeyboardShortcutWrapper`` which contains ``KeyboardShortcutWrapper/keyboardShortcut`` which can be passed directly to ``keyboardShortcut``. So the end code would look like `.keyboardShortcut(KeyboardShortcutWrapper.shared.named(with: "copy").keyboardShortcut`
2525

26-
If shortcut wasnt found by name, it will return fallback shortcut which has following keybinding `Shift + ?`
26+
If shortcut wasn't found by name, it will return fallback shortcut which has following keybinding `Shift + ?`
2727

2828
### Adding new shortcut
2929

0 commit comments

Comments
 (0)