diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2023-02-12 17:15:52 -0300 |
---|---|---|
committer | Rafael Lima <rafael.palma.lima@gmail.com> | 2023-02-22 13:36:30 +0000 |
commit | 943b8b45d80e295b1333fdc28bc8cf7ca8f95902 (patch) | |
tree | 451f3ec104af056214118eed04355c95d42df96c /basctl/sdi/baside.sdi | |
parent | 5b7e54ce8fb57203068f1c2e610758523687ef9a (diff) |
tdf#153572 Implement .uno:ZoomPlus and .uno:ZoomMinus in the Basic IDE
This patch implements the commands .uno:ZoomPlus and .uno:ZoomMinus in the Basic IDE to allow the user to zoom in/out of the code editor. With these commands it is possible to create a keyboard shortcut for zooming in/out.
Notice that this patch only implements the commands, but it does not create a default shortcut, since defining which shortcut should be used needs to be discussed first.
Change-Id: I02866b9e731bf23181d0ecfc32f978ec110e33f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146841
Tested-by: Jenkins
Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'basctl/sdi/baside.sdi')
-rw-r--r-- | basctl/sdi/baside.sdi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/basctl/sdi/baside.sdi b/basctl/sdi/baside.sdi index c1fc9b4f39e3..0d32339fc833 100644 --- a/basctl/sdi/baside.sdi +++ b/basctl/sdi/baside.sdi @@ -337,6 +337,18 @@ shell basctl_Shell StateMethod = GetState; ] + SID_ZOOM_IN + [ + ExecMethod = ExecuteGlobal; + StateMethod = GetState; + ] + + SID_ZOOM_OUT + [ + ExecMethod = ExecuteGlobal; + StateMethod = GetState; + ] + SID_BASICIDE_CURRENT_ZOOM [ StateMethod = GetState; |