From 8170501502623a0418156f1f880cf7e4f85c34c7 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Mon, 4 Jul 2022 16:16:40 +0200 Subject: [PATCH] Editor: visualize indent Paint a horizontal line every indent size in the whitespace at the start of each block. Fixes: QTCREATORBUG-22756 Change-Id: I044ccb4adefa4c8c9a3a610f0e996a810487fa1e Reviewed-by: Reviewed-by: Alessandro Portale Reviewed-by: Marcus Tillmanns --- share/qtcreator/styles/creator-dark.xml | 2 +- share/qtcreator/styles/dark.xml | 1 + .../styles/modnokai_night_shift_v2.xml | 2 +- share/qtcreator/styles/solarized-dark.xml | 2 +- src/plugins/texteditor/displaysettings.cpp | 4 + src/plugins/texteditor/displaysettings.h | 1 + .../texteditor/displaysettingspage.cpp | 2 + src/plugins/texteditor/displaysettingspage.ui | 123 ++++++++++-------- src/plugins/texteditor/texteditor.cpp | 44 ++++++- 9 files changed, 123 insertions(+), 58 deletions(-) diff --git a/share/qtcreator/styles/creator-dark.xml b/share/qtcreator/styles/creator-dark.xml index dbb18ae47c8..c0092f46aaa 100644 --- a/share/qtcreator/styles/creator-dark.xml +++ b/share/qtcreator/styles/creator-dark.xml @@ -38,7 +38,7 @@