We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from textual.app import App, ComposeResult from textual.widgets import TextArea TEXT = """\ def hello(name): print("hello" + name) def goodbye(name): print("goodbye" + name) """ class TextAreaExample(App): def compose(self) -> ComposeResult: yield TextArea.code_editor(TEXT, language="python") if __name__ == "__main__": app = TextAreaExample() app.run()
The text was updated successfully, but these errors were encountered:
This is explained at the top of the TextArea docs: https://textual.textualize.io/widgets/text_area/#syntax-highlighting-dependencies
Sorry, something went wrong.
No branches or pull requests
This is my code(I copied from the official documentation):
Command used
This is the result
Extra observations
The text was updated successfully, but these errors were encountered: