1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-05-08 15:52:10 +02:00

feat(monaco): add vim mode

This commit is contained in:
2025-07-25 10:04:22 +02:00
committed by Jan Wyzula
parent a51ef04cdf
commit 627b49b33a
2 changed files with 19 additions and 0 deletions
+9
View File
@@ -2542,6 +2542,15 @@ class MonacoWidget(RPCBase):
enabled (bool): If True, the minimap will be enabled; otherwise, it will be disabled.
"""
@rpc_call
def set_vim_mode_enabled(self, enabled: bool) -> None:
"""
Enable or disable Vim mode in the Monaco editor.
Args:
enabled (bool): If True, Vim mode will be enabled; otherwise, it will be disabled.
"""
class MotorMap(RPCBase):
"""Motor map widget for plotting motor positions in 2D including a trace of the last points."""