Skip to content

Commit 065d0f4

Browse files
committed
feat: add scroll sensitivity setting in docs
1 parent c93502a commit 065d0f4

4 files changed

Lines changed: 23 additions & 4 deletions

File tree

docs/03-customizing-editor.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ To adjust line height:
7474
1. Click on `View` in the menu bar.
7575
2. Navigate to the `Themes...` option.
7676
3. Use the Line Height slider to set a value between 1 and 3. The default is 1.5.
77-
![Line Height](./images/editingText/line-height.png "Go to View > Themes... to adjust line height")
77+
![Line Height slider in Themes Settings](./images/editingText/themes-settings-line-height.png "Go to View > Themes... to adjust line height")
7878

7979
Adjustments apply instantly, updating the editor dynamically.
8080

@@ -84,6 +84,26 @@ You can also modify the line height by updating the `themes.editorLineHeight` pr
8484

8585
---
8686

87+
## Scroll Sensitivity
88+
89+
**Scroll Sensitivity** sets a multiplier for mouse-wheel scroll speed in the editor. Increase it if scrolling feels too slow, decrease it if scrolling feels too fast.
90+
91+
### Adjusting Scroll Sensitivity
92+
93+
1. Click `View` in the menu bar.
94+
2. Select `Themes...`.
95+
3. Use the **Scroll Sensitivity** slider to set a value between `0.1` and `10`. The default is `1` (normal speed).
96+
97+
![Scroll Sensitivity slider in Themes Settings](./images/editingText/themes-settings-scroll-sensitivity.png "Go to View > Themes... to adjust scroll sensitivity")
98+
99+
The new value applies immediately.
100+
101+
### Modifying Scroll Sensitivity via Preferences
102+
103+
Set the `mouseWheelScrollSensitivity` property in the preferences file. Accepts any number from `0.1` to `10`. [Click Here](./editing-text#editing-preferences) to read on how to edit the preferences.
104+
105+
---
106+
87107
## Indent Guide Lines
88108

89109
![Indent Guide Lines Image](images/editingText/indent-display.png "The vertical lines are Indent Guide Lines")
@@ -117,10 +137,9 @@ Toggle the visibility of rulers through the `View > Rulers` menu option.
117137

118138
### Adding Multiple Rulers
119139

120-
To add multiple rulers, edit the preferences file:
140+
To add multiple rulers, edit the preferences file. [Click Here](./editing-text#editing-preferences) to read on how to edit the preferences.
121141

122-
1. Navigate to `File > Open Preferences File`.
123-
1. Add the following entries to the JSON configuration:
142+
Add the following entries to the JSON configuration:
124143

125144
```js
126145
{
-54.6 KB
Binary file not shown.
38 KB
Loading
38 KB
Loading

0 commit comments

Comments
 (0)