mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
update docs with syntax extras
This commit is contained in:
@@ -22,7 +22,7 @@ class TextAreaCustomLanguage(App):
|
||||
text_area.cursor_blink = False
|
||||
|
||||
# Register the Java language and highlight query
|
||||
text_area.register_language(java_language, java_highlight_query)
|
||||
text_area.register_language("java", java_language, java_highlight_query)
|
||||
|
||||
# Switch to Java
|
||||
text_area.language = "java"
|
||||
|
||||
Reference in New Issue
Block a user