parent
afecc0f367
commit
7a86900a45
11 changed files with 16 additions and 16 deletions
|
|
@ -203,7 +203,7 @@ pub enum Named {
|
|||
Standby,
|
||||
/// The WakeUp key. (`KEYCODE_WAKEUP`)
|
||||
WakeUp,
|
||||
/// Initate the multi-candidate mode.
|
||||
/// Initiate the multi-candidate mode.
|
||||
AllCandidates,
|
||||
Alphanumeric,
|
||||
/// Initiate the Code Input mode to allow characters to be entered by
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ impl Modifiers {
|
|||
/// This is normally the main modifier to be used for hotkeys.
|
||||
///
|
||||
/// On macOS, this is equivalent to `Self::LOGO`.
|
||||
/// Ohterwise, this is equivalent to `Self::CTRL`.
|
||||
/// Otherwise, this is equivalent to `Self::CTRL`.
|
||||
pub const COMMAND: Self = if cfg!(target_os = "macos") {
|
||||
Self::LOGO
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -411,13 +411,13 @@ impl<'a, Link, Font> Span<'a, Link, Font> {
|
|||
self
|
||||
}
|
||||
|
||||
/// Sets whether the [`Span`] shoud be underlined or not.
|
||||
/// Sets whether the [`Span`] should be underlined or not.
|
||||
pub fn underline(mut self, underline: bool) -> Self {
|
||||
self.underline = underline;
|
||||
self
|
||||
}
|
||||
|
||||
/// Sets whether the [`Span`] shoud be struck through or not.
|
||||
/// Sets whether the [`Span`] should be struck through or not.
|
||||
pub fn strikethrough(mut self, strikethrough: bool) -> Self {
|
||||
self.strikethrough = strikethrough;
|
||||
self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue