diff options
Diffstat (limited to 'src/EditView.cxx')
| -rw-r--r-- | src/EditView.cxx | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/EditView.cxx b/src/EditView.cxx index 3f490af5e..acf7b3b84 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -2242,8 +2242,9 @@ Sci::Position EditView::FormatRange(bool draw, Sci_RangeToFormat *pfr, Surface *  			}  		}  	} -	// White background for the line numbers -	vsPrint.styles[STYLE_LINENUMBER].back = ColourDesired(0xff, 0xff, 0xff); +	// White background for the line numbers if SC_PRINT_SCREENCOLOURS isn't used +	if (printParameters.colourMode != SC_PRINT_SCREENCOLOURS) +		vsPrint.styles[STYLE_LINENUMBER].back = ColourDesired(0xff, 0xff, 0xff);  	// Printing uses different margins, so reset screen margins  	vsPrint.leftMarginWidth = 0; | 
