summaryrefslogtreecommitdiffstats
path: root/polygerrit-ui/app/elements/settings/gr-edit-preferences/gr-edit-preferences_html.ts
diff options
context:
space:
mode:
Diffstat (limited to 'polygerrit-ui/app/elements/settings/gr-edit-preferences/gr-edit-preferences_html.ts')
-rw-r--r--polygerrit-ui/app/elements/settings/gr-edit-preferences/gr-edit-preferences_html.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/polygerrit-ui/app/elements/settings/gr-edit-preferences/gr-edit-preferences_html.ts b/polygerrit-ui/app/elements/settings/gr-edit-preferences/gr-edit-preferences_html.ts
index 47e4592c40..93a2d1c97a 100644
--- a/polygerrit-ui/app/elements/settings/gr-edit-preferences/gr-edit-preferences_html.ts
+++ b/polygerrit-ui/app/elements/settings/gr-edit-preferences/gr-edit-preferences_html.ts
@@ -116,6 +116,17 @@ export const htmlTemplate = html`
</span>
</section>
<section>
+ <span class="title">Show trailing whitespace</span>
+ <span class="value">
+ <input
+ id="editShowTrailingWhitespaceInput"
+ type="checkbox"
+ checked$="[[editPrefs.show_whitespace_errors]]"
+ on-change="_handleEditShowTrailingWhitespaceTap"
+ />
+ </span>
+ </section>
+ <section>
<span class="title">Match brackets</span>
<span class="value">
<input