Skip to content

Commit

Permalink
re-black
Browse files Browse the repository at this point in the history
  • Loading branch information
tangledhelix committed Dec 16, 2024
1 parent 98b27d2 commit e4f4407
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/guiguts/maintext.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,16 @@ def __init__(self, parent: ttk.Frame, text_widget: tk.Text, **kwargs: Any) -> No
self.textwidget = text_widget
self.font = tk_font.nametofont(self.textwidget.cget("font"))
self._ruler = self._construct_ruler()
super().__init__(parent, font=self.font, height=1, padx=3, highlightthickness=0, takefocus=False, wrap=tk.NONE, **kwargs)
super().__init__(
parent,
font=self.font,
height=1,
padx=3,
highlightthickness=0,
takefocus=False,
wrap=tk.NONE,
**kwargs,
)
self.bind("<<ThemeChanged>>", lambda event: self.theme_change())
self.theme_change()

Expand Down

0 comments on commit e4f4407

Please sign in to comment.