Skip to content
Permalink
Browse files

Use edge color for tab indentation guide in code editors

  • Loading branch information
nyalldawson committed Oct 11, 2020
1 parent 18bfe1f commit e29f17cf2f3368873bbb95e16910bee909ab9c36
Showing with 3 additions and 1 deletion.
  1. +2 −0 src/gui/codeeditors/qgscodeeditor.cpp
  2. +1 −1 src/ui/qgscodeditorsettings.ui
@@ -201,6 +201,8 @@ void QgsCodeEditor::runPostLexerConfigurationTasks()
SendScintilla( SCI_MARKERSETBACK, SC_MARKNUM_FOLDEROPEN, lexerColor( QgsCodeEditorColorScheme::ColorRole::FoldIconForeground ) );
SendScintilla( SCI_MARKERSETFORE, SC_MARKNUM_FOLDER, lexerColor( QgsCodeEditorColorScheme::ColorRole::FoldIconHalo ) );
SendScintilla( SCI_MARKERSETBACK, SC_MARKNUM_FOLDER, lexerColor( QgsCodeEditorColorScheme::ColorRole::FoldIconForeground ) );
SendScintilla( SCI_STYLESETFORE, STYLE_INDENTGUIDE, lexerColor( QgsCodeEditorColorScheme::ColorRole::Edge ) );
SendScintilla( SCI_STYLESETBACK, STYLE_INDENTGUIDE, lexerColor( QgsCodeEditorColorScheme::ColorRole::Edge ) );
}

void QgsCodeEditor::setSciWidget()
@@ -702,7 +702,7 @@
<item row="7" column="4">
<widget class="QLabel" name="label_38">
<property name="text">
<string>Edge</string>
<string>Edge/indentation guide</string>
</property>
</widget>
</item>

0 comments on commit e29f17c

Please sign in to comment.
You can’t perform that action at this time.