Skip to content

Commit

Permalink
Spell check was misconfigured (#7233)
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw authored Dec 30, 2024
1 parent bc89c63 commit bc689c0
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 17 deletions.
7 changes: 2 additions & 5 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@
]
},
{
"languageId": "markdown,md,mdx",
"languageId": ["markdown", "md", "mdx"],
"words": [
"Espressif",
"linebuffer",
"mylibrary",
"otherlibrary",
Expand All @@ -74,10 +75,6 @@
"Torizon",
"Yocto"
],
"ignoreRegExpList": [
// Ignore simple code blocks
"`[^`]+`"
]
}
],
"words": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
// cSpell: ignore linuxkms libinput libseat libudev libgbm libxkbcommon xkbcommon noseat keymap xkeyboard udevadm
title: LinuxKMS Backend
description: LinuxKMS Backend
---

<!-- cSpell: ignore linuxkms libinput libseat libudev libgbm libxkbcommon xkbcommon noseat -->

The LinuxKMS backend runs only on Linux and eliminates the need for a windowing system such as Wayland or X11.
Instead it uses the following libraries and interface to render directly to the screen and react to touch, mouse,
and keyboard input.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
// cSpell: ignore linuxkms mfloat BINDGEN OECORE CCARGS xcrun gnueabi Foobj fontmgr Wunused cortexa skunicode cdecl
title: Backends & Renderers
description: Backends & Renderers
---

import Link from '/src/components/Link.astro';
// cSpell: ignore linuxkms mfloat BINDGEN OECORE CCARGS xcrun gnueabi


In Slint, a backend is the module that encapsulates the interaction with the operating system,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
// cSpell: ignore toupper
title: Custom Controls
description: Custom Controls
---
Expand Down Expand Up @@ -71,7 +72,7 @@ callback binds to `button.clicked`.
The root element of the main component exposes all non-`private` properties and
callbacks to native code.

In Slint, `-` and `_` are equivalent and interchangable in all identifiers.
In Slint, `-` and `_` are equivalent and interchangeable in all identifiers.
This is different in native code: Most programming languages forbid `-` in
identifiers, so `-` is replaced with `_`.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
// cSpell: ignore msgfmt msgctx msginit poedit Lokalize Transifex
// cSpell: ignore msgfmt msgctx msginit poedit Lokalize Transifex libintl bindtextdomain
title: Translations
description: Translations
---
Expand Down
1 change: 1 addition & 0 deletions docs/astro/src/content/docs/guide/language/coding/file.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
// cSpell: ignore otherlib
title: The `.slint` File
description: The `.slint` File
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ A callback is invoked only if the property's value has indeed changed.
If a property's value changes multiple times within the same event loop cycle, the callback is invoked only once.
Additionally, if a property's value changes and then reverts to its original state before the callback is executed, the callback won't be invoked.

**Warning:** Altering properties during a change event in a way that could lead to the same property being affected is undefined behaviour.
**Warning:** Altering properties during a change event in a way that could lead to the same property being affected is undefined behavior.

```slint
export component Example {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ using this kind of code.

It's also too complex to edit without understanding how to code. This means UI designers cannot work
hands on to ensure all their design intent is implemented. They are forced to use other tools and frameworks
to crate prototypes and design guides that may look or behave differently to the software used to implementat
to crate prototypes and design guides that may look or behave differently to the software used to implement
the production UI. It should not have to be this way.

## Declarative Style
Expand Down Expand Up @@ -85,8 +85,8 @@ struct ContentView: View {
}
```

These languages take normal code and let it be used in a declartive way. But it's
still functions with arguments that act as properties. It is simpler and behaviour
These languages take normal code and let it be used in a declarative way. But it's
still functions with arguments that act as properties. It is simpler and behavior
such as parent child relationships can be inferred.

For Slint instead of tweaking a normal language to be more declarative we instead
Expand Down
3 changes: 1 addition & 2 deletions docs/astro/src/content/docs/guide/platforms/embedded.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
// cSpell: ignore Toradex Vivante espflash pico armhf armhf THUMBV EABIHF eabihf eabi bootsel udisksctl picotool
title: Embedded
description: Embedded Platforms on which Slint has been tested
---

{/* cSpell: Toradex Vivante espflash pico */}

import { Tabs, TabItem } from '@astrojs/starlight/components';

Slint runs on many embedded platforms.
Expand Down
2 changes: 1 addition & 1 deletion docs/astro/src/content/docs/reference/common.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Rectangle {
<SlintProperty propName="absolute-position" typeName="struct" structName="Point" propertyVisibility="out">

A common issue is that in a UI with many nested components it's useful to know their (x,y)position relative to
the main window or screen. This convienience property gives easy read only access to that value.
the main window or screen. This convenience property gives easy read only access to that value.

It represents a point specifying the absolute position within the enclosing <Link type="Window"/> or <Link type="PopupWindow"/>.
It defines coordinates (x,y) relative to the enclosing Window or PopupWindow, but the reference frame is unspecified
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
// cSpell: ignore Backtab
title: Key Handling Overview
description: Key Handling Overview
---
Expand Down
2 changes: 2 additions & 0 deletions docs/astro/src/content/docs/reference/std-widgets/style.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
<!-- Copyright © SixtyFPS GmbH <info@slint.dev> ; SPDX-License-Identifier: MIT -->
// cSpell: ignore DSLINT
title: Widget Styles
description: std-widgets Style.
---


import { Tabs, TabItem } from '@astrojs/starlight/components';

You can modify the look of these widgets by choosing a style.
Expand Down

0 comments on commit bc689c0

Please sign in to comment.