diff --git a/spyder/plugins/debugger/utils/breakpointsmanager.py b/spyder/plugins/debugger/utils/breakpointsmanager.py index 16930e6272c..4aa3870226f 100644 --- a/spyder/plugins/debugger/utils/breakpointsmanager.py +++ b/spyder/plugins/debugger/utils/breakpointsmanager.py @@ -81,7 +81,7 @@ def __init__(self, editor): # Debugger panel (Breakpoints) self.debugger_panel = DebuggerPanel(self) editor.panels.register(self.debugger_panel) - self.debugger_panel.order_in_zone = -1 + self.debugger_panel.order_in_zone = 1 self.update_panel_visibility() # Load breakpoints diff --git a/spyder/plugins/editor/widgets/codeeditor/codeeditor.py b/spyder/plugins/editor/widgets/codeeditor/codeeditor.py index f9750b4a95d..7178ef88aa1 100644 --- a/spyder/plugins/editor/widgets/codeeditor/codeeditor.py +++ b/spyder/plugins/editor/widgets/codeeditor/codeeditor.py @@ -287,6 +287,10 @@ def __init__(self, parent=None): # Line number area management self.linenumberarea = self.panels.register(LineNumberArea()) + # Set order for the left panels + self.linenumberarea.order_in_zone = 2 + self.folding_panel.order_in_zone = 0 # Debugger panel is 1 + # Class and Method/Function Dropdowns self.classfuncdropdown = self.panels.register( ClassFunctionDropdown(),