From 4284d572ec2ddb8e4491aa72b167e020e5297af3 Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Thu, 30 Oct 2025 16:28:48 +0100 Subject: [PATCH] docs(monaco_dock): add missing argument --- bec_widgets/widgets/editors/monaco/monaco_dock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bec_widgets/widgets/editors/monaco/monaco_dock.py b/bec_widgets/widgets/editors/monaco/monaco_dock.py index eaee6669..25e8392a 100644 --- a/bec_widgets/widgets/editors/monaco/monaco_dock.py +++ b/bec_widgets/widgets/editors/monaco/monaco_dock.py @@ -295,6 +295,7 @@ class MonacoDock(BECWidget, QWidget): Args: widget (MonacoWidget | None): The widget to save. If None, the last focused editor will be used. force_save_as (bool): If True, the "Save As" dialog will be shown even if the file is already saved. + format_on_save (bool): If True, format the code before saving if it's a Python file. """ if widget is None: widget = self.last_focused_editor.widget() if self.last_focused_editor else None