mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:17:44 +00:00
Browser: Do not visualize trailing whitespace in the source viewer
Trailing whitespace in the source view is not actionable, so there's no benefit to showing it.
This commit is contained in:
parent
6808b52c1b
commit
18bbbab78c
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ void Tab::view_source(const URL& url, DeprecatedString const& source)
|
|||
editor->set_mode(GUI::TextEditor::ReadOnly);
|
||||
editor->set_syntax_highlighter(make<Web::HTML::SyntaxHighlighter>());
|
||||
editor->set_ruler_visible(true);
|
||||
editor->set_visualize_trailing_whitespace(false);
|
||||
window->resize(640, 480);
|
||||
window->set_title(url.to_deprecated_string());
|
||||
window->set_icon(g_icon_bag.filetype_text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue