added a line numbers option
This commit is contained in:
2
main.py
2
main.py
@@ -66,7 +66,7 @@ class Berry(App):
|
||||
first_tab,
|
||||
id="file-tabs"
|
||||
)
|
||||
yield TextArea.code_editor(placeholder="This file is empty.", theme="css", id="code-editor", disabled=True, soft_wrap=True)
|
||||
yield TextArea.code_editor(placeholder="This file is empty.", theme="css", id="code-editor", disabled=True, soft_wrap=True, show_line_numbers=bool(int(self.config_handler.get("editor", "line_numbers"))))
|
||||
|
||||
#if os.name == "nt":
|
||||
#with Vertical(id="console-container"):
|
||||
|
||||
Reference in New Issue
Block a user