keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
387 stars 107 forks source link

feat(developer): Add Text Zoom Slider #12153

Open dyacob opened 1 month ago

dyacob commented 1 month ago

Is your feature request related to a problem? Please describe.

Working in the KMD Layout code editor, text often appears smaller than desired though set to a regular size like 12. When working with an unfamiliar script, the differences between symbols may be difficult to discern easily leading to the wish to temporarily enlarge (or zoom)the text to more carefully make an edit.

Describe the solution you'd like

In any text views, I would like to be able to zoom the text (all text in the editor) in and out as easily as I can in MS Word and other applications. Word has a zoom slider in the lower right corner of the status bar that allows for easy resizing, this would be ideal. Other applications offer A+ and A- buttons to do the same, this would be a secondary preference.

Describe alternatives you've considered

Going through the View menu then the two separate font menus to set the size temporarily, and reset it later. This gets tedious so I will instead copy & paste layout code into Word, edit there, and paste it back.

Related issues

No response

Keyman apps

Keyman version

17.0.328

Operating system

Windows 11 Pro (22621.1702)

Device

laptop

Target application

N/A

Browser

N/A

Keyboard name

Any

Keyboard version

Any

Language name

Any

Additional context

No response

mcdurdin commented 1 month ago

The dual-font issue is something I also find irritating!

I would probably lean towards adding the Ctrl++ and Ctrl+- hotkeys along with Ctrl+mouse wheel actions, which mimics VSCode and other editors. Currently, the editor zoom (only accessible through right-click, Command Palette, Zoom) doesn't control the 'character font' size, only the 'code font' size, so that's a bit useless!