Merge pull request #747 from erictheise/typos

Another batch of documentation typos.
This commit is contained in:
jean-emmanuel 2021-08-26 09:52:17 +02:00 • committed by GitHub
commit 59ddfac7a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 10 deletions

View file

@ -66,7 +66,7 @@ The **server** can be configured with many options, either from a terminal or wi
!!! quote ""
#### `debug`
Print sent and receiced messages in the console. This may impact performances and should not be enabled in production.
Print sent and received messages in the console. This may impact performance and should not be enabled in production.
@ -178,7 +178,7 @@ The following options can only be set from a terminal.
!!! quote ""
#### `docs`
Serve documentation website locally and open it with the system\'s default browser
Serve documentation website locally and open it with the system's default browser
!!! quote ""

View file

@ -32,7 +32,7 @@
## 2. Sidepanels
The sidepanels are only visible when the editor is active, they can be resized and/or hidden. Both are describe in the [editor](./editor.md) section.
The sidepanels are only visible when the editor is active, they can be resized and/or hidden. Both are described in the [editor](./editor.md) section.
## 3. Session

View file

@ -1,6 +1,6 @@
## Widget selection
Clicking on a widget, on a tab label or on an item in the project tree selects the widgets for edition:
Clicking on a widget, on a tab label or on an item in the project tree selects the widgets for editing:
- All its editable properties are shown in the inspector panel
- The corresponding item in the project tree is highlighted
@ -37,7 +37,7 @@ Right clicking on a widget displays a menu with the following actions
Selected widget's properties are displayed and can be modified in the inspector. The [properties reference](../widgets/properties-reference.md) lists the available properties for each widget type.
- Property fields are all multiline (press `shift + enter` for new line).
- Properties are written in JSON, with some flexibility brought by the [JSON5](https://github.com/json5/json5) format. For example, doubles quotes around object keys are not mandatory.
- Properties are written in JSON, with some flexibility brought by the [JSON5](https://github.com/json5/json5) format. For example, double quotes around object keys are not mandatory.
- Clicking on a property name spawns a help modal window

View file

@ -18,7 +18,7 @@ The "play/stop" icon can be used to start and stop the server without opening th
## 2. Configuration form
Each server option is displayed here. When clicking on an option's label, a short help will be printed in the console. When an option is not correctly set, it's label will turn to orange and an error message will be printed in the console.
Each server option is displayed here. When clicking on an option's label, a short help will be printed in the console. When an option is not correctly set, its label will turn to orange and an error message will be printed in the console.
## 3. Console

View file

@ -1,6 +1,6 @@
# Advanced syntaxes
Advanced syntaxes are special blocks of code that can be written in the widgets properties to customize the widgets and how they behave. These blocks end up replaced with the value they hold before the widgets' evaluate the properties they're in.
Advanced syntaxes are special blocks of code that can be written in the widgets properties to customize the widgets and how they behave. These blocks end up replaced with the value they hold before the widgets evaluate the properties they're in.
## Inheritance: `@{id.property}`
@ -8,7 +8,7 @@ Advanced syntaxes are special blocks of code that can be written in the widgets
The inheritance syntax returns either a widget's value or one of its properties. When using this syntax, value or property changes will be applied automatically.
- `id`: target widget's `id`. A widget can fetch its own properties or its direct parent's by using the keywords `this` or `parent` instead of `id`. When `this` or `parent` can be used, using the target widget's `id` instead won't work.
- `property`: target widget's property name. If ommitted (along with the dot), the widget's value will be returned (`@{widgetId}` is the same as `@{widgetId.value}`). `value` always resolves to the target widget's current value, not its `value` property.
- `property`: target widget's property name. If omitted (along with the dot), the widget's value will be returned (`@{widgetId}` is the same as `@{widgetId.value}`). `value` always resolves to the target widget's current value, not its `value` property.
!!! note "Unique identifier"

View file

@ -666,7 +666,7 @@
| property | type |default | description |
| --- | --- | --- | --- |
| <h6 id="multixy_pointSize">pointSize<a class="headerlink" href="#multixy_pointSize" title="Permanent link">#</a></h6> | `integer` | <code>20</code> | Defines the points' size |
| <h6 id="multixy_ephemeral">ephemeral<a class="headerlink" href="#multixy_ephemeral" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | When set to `true`, the points will be drawn only chile touched. |
| <h6 id="multixy_ephemeral">ephemeral<a class="headerlink" href="#multixy_ephemeral" title="Permanent link">#</a></h6> | `boolean` | <code>false</code> | When set to `true`, the points will be drawn only while touched. |
| <h6 id="multixy_pips">pips<a class="headerlink" href="#multixy_pips" title="Permanent link">#</a></h6> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
=== "multixy"

View file

@ -22,7 +22,7 @@ module.exports = class MultiXy extends Pad {
style: {
_separator_xy_style: 'Xy style',
pointSize: {type: 'integer', value: 20, help: 'Defines the points\' size'},
ephemeral: {type: 'boolean', value: false, help: 'When set to `true`, the points will be drawn only chile touched.'},
ephemeral: {type: 'boolean', value: false, help: 'When set to `true`, the points will be drawn only while touched.'},
pips: {type: 'boolean', value: true, help: 'Set to `false` to hide the scale'},
},
class_specific: {