-
-
Notifications
You must be signed in to change notification settings - Fork 993
Closed
Description
Setting TextArea
language to sql
causes an exception:
ValueError: Incompatible Language version 15. Must be between 13 and 14
To reproduce:
from textual.app import App, ComposeResult
from textual.widgets import TextArea
class BugApp(App):
def compose(self) -> ComposeResult:
yield TextArea(language="sql")
if __name__ == "__main__":
app = BugApp()
app.run()
Textual Diagnostics
Versions
Name | Value |
---|---|
Textual | 2.0.1 |
Rich | 13.9.4 |
Python
Name | Value |
---|---|
Version | 3.12.8 |
Implementation | CPython |
Compiler | GCC 14.2.1 20240912 (Red Hat 14.2.1-3) |
Executable | /home/ihabunek/projects/ihabunek/pgtui/.venv/bin/python |
Operating System
Name | Value |
---|---|
System | Linux |
Release | 6.12.7-100.fc40.x86_64 |
Version | #1 SMP PREEMPT_DYNAMIC Fri Dec 27 17:00:45 UTC 2024 |
Terminal
Name | Value |
---|---|
Terminal Application | Kitty |
TERM | xterm-kitty |
COLORTERM | truecolor |
FORCE_COLOR | Not set |
NO_COLOR | Not set |
Rich Console options
Name | Value |
---|---|
size | width=182, height=48 |
legacy_windows | False |
min_width | 1 |
max_width | 182 |
is_terminal | False |
encoding | utf-8 |
max_height | 48 |
justify | None |
overflow | None |
no_wrap | False |
highlight | None |
markup | None |
height | None |
Metadata
Metadata
Assignees
Labels
No labels