summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Tiberi <nicktiberi@gmail.com>2020-05-07 16:49:39 -0400
committerAndreas Kling <kling@serenityos.org>2020-05-07 22:59:40 +0200
commit9d0c6a32bde762f1681824ec9796d8761c7fcc63 (patch)
treea9e3fa604b8acfd78f2f9b8816ae3559b34182e9
parent124cbea347646bcc083fbbd275b862d7ea69ec01 (diff)
downloadserenity-9d0c6a32bde762f1681824ec9796d8761c7fcc63.zip
Browser: Show line numbers when viewing page source
-rw-r--r--Applications/Browser/Tab.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Applications/Browser/Tab.cpp b/Applications/Browser/Tab.cpp
index 3eb9824639..c0653feccc 100644
--- a/Applications/Browser/Tab.cpp
+++ b/Applications/Browser/Tab.cpp
@@ -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();