mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
Browser: Show line numbers when viewing page source
This commit is contained in:
parent
124cbea347
commit
9d0c6a32bd
Notes:
sideshowbarker
2024-07-19 06:54:16 +09:00
Author: https://github.com/nicktiberi
Commit: 9d0c6a32bd
Pull-request: https://github.com/SerenityOS/serenity/pull/2152
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