You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To a Textual Log widget. The widget has a highlight parameter to enable highlighting, but there are no further arguments provided to apply a different highlighter w/ a theme. The reference page for the Log widget shows a highlighter instance value, but I'm not sure if I am supposed to simply replace it. I've tried doing that, but without defining the theme, the text in the Log widget is just plain white.
I humbly request instruction to wash away my ignorance, or a means added to Log to defined this more formally.
The text was updated successfully, but these errors were encountered:
Textual doesn't expose the rich.theme, so there is no straightforward way of doing that.
You can, hover, disable automatic highlighting, and log Text instances. Rich's Text objects have a number of ways of applying styles, so you can highlight however you like.
Perhaps I'm not seeing all the pieces for this, but I'm not seeing how I can apply a RegexHighlighter:
with a theme:
To a Textual Log widget. The widget has a
highlight
parameter to enable highlighting, but there are no further arguments provided to apply a different highlighter w/ a theme. The reference page for the Log widget shows a highlighter instance value, but I'm not sure if I am supposed to simply replace it. I've tried doing that, but without defining the theme, the text in the Log widget is just plain white.I humbly request instruction to wash away my ignorance, or a means added to Log to defined this more formally.
The text was updated successfully, but these errors were encountered: