Skip to content

Commit

Permalink
IPython console: Make some block comments appear better in the Outlin…
Browse files Browse the repository at this point in the history
…e pane
  • Loading branch information
ccordoba12 committed Dec 19, 2024
1 parent 49e81ef commit 47b3d77
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions spyder/plugins/ipythonconsole/widgets/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def __init__(self, parent=None):
# To not use Spyder calltips obtained through the monitor
self.calltips = False

# ---- Public methods ----------------------------------------------------
# ---- Public methods
# -------------------------------------------------------------------------
def insert_horizontal_ruler(self):
"""
Insert a horizontal ruler with the appropriate color according
Expand All @@ -69,7 +70,8 @@ def insert_horizontal_ruler(self):
cursor.movePosition(cursor.End)
cursor.insertFrame(ruler)

# ---- Private methods ---------------------------------------------------
# ---- Private methods
# -------------------------------------------------------------------------
def _key_paren_left(self, text):
""" Action for '(' """
self.current_prompt_pos = self.parentWidget()._prompt_pos
Expand All @@ -79,7 +81,8 @@ def _key_paren_left(self, text):
self.show_object_info(last_obj)
self.insert_text(text)

# ---- Qt methods --------------------------------------------------------
# ---- Qt methods
# -------------------------------------------------------------------------
def showEvent(self, event):
"""Reimplement Qt Method"""
self.sig_visibility_changed.emit(True)
Expand Down

0 comments on commit 47b3d77

Please sign in to comment.