mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
Browser: Show line numbers when viewing page source
This commit is contained in:
parent
124cbea347
commit
9d0c6a32bd
1 changed files with 1 additions and 0 deletions
|
@ -238,6 +238,7 @@ Tab::Tab()
|
|||
auto& editor = window->set_main_widget<GUI::TextEditor>();
|
||||
editor.set_text(source);
|
||||
editor.set_readonly(true);
|
||||
editor.set_ruler_visible(true);
|
||||
window->set_rect(150, 150, 640, 480);
|
||||
window->set_title(url);
|
||||
window->show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue