Patch #2901 2010-01-04 18:40

rhf

Indentation guide syntax highlighting
Download
2901-Indentation_gu.patch (535 bytes)
Category
Application::Refinement
Status
Open
Close date
 
Assigned to
 
Index: src/sdk/resources/lexers/lexer_cpp.xml
===================================================================
--- src/sdk/resources/lexers/lexer_cpp.xml    (revision 6044)
+++ src/sdk/resources/lexers/lexer_cpp.xml    (working copy)
@@ -74,6 +74,9 @@
                         fg="255,255,255"
                         bg="255,0,0"
                         bold="1"/>
+                <Style name="Indentation guide"
+                        index="37"
+                        fg="55,55,55"/>                       
                 <Keywords>
                         <!-- Primary keywords and identifiers -->
                         <Set index="0"
rhf 2010-01-04 18:43

Code indentation guides can be displayed with

Settings->Editor->General settings->Show indentation guides

However, the default guides are rather dark and can be distracting.

The patch (after an update) allows the user to modify the guides color/shading with

Settings->Editor->Syntax highlighting->Indentation guide->Foreground

For example, the indentation guides can be changed to a very unobtrusive light gray.